Test2::...Version(3)

πŸ“¦ version 1.302214, in opensuse-leap 16.0

✨ NAME ✨

okay so this page is Test2::...Version(3), from the User Contributed Perl Documentation collection, and the actual thing it's serving is Test2::Event::TAP::Version β€” literally the Event for TAP version. That's the name vibe, bestie. 🫢

🌸 DESCRIPTION 🌸

This event is used if a TAP formatter wishes to set a version. Tiny event, big "i'm here to set the version" energy. ✨

πŸŽ€ SYNOPSIS πŸŽ€

use Test2::API qw/context/;
use Test2::Event::Encoding;

my $ctx = context();
my $event = $ctx->send_event('TAP::Version', version => 42);

No cap, that's the exact example β€” version => 42 and everything. πŸ’…

πŸ¦‹ METHODS πŸ¦‹

Inherits from Test2::Event. Also defines:

  • $version = $e->version β€” the TAP version being parsed. That's the whole method, bestie. πŸ¦‹

πŸ’– SOURCE πŸ’–

The source code repository for Test2 can be found at <https://github.com/Test-More/test-more/>. Go be nosy, bestie β€” the source is right there. πŸ‘€

πŸ‘‘ MAINTAINERS πŸ‘‘

  • Chad Granum <exodist@cpan.org>

🌈 AUTHORS 🌈

  • Chad Granum <exodist@cpan.org>

Copyright Chad Granum <exodist@cpan.org>.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

See <https://dev.perl.org/licenses/>.


That's the whole page, bestie β€” footer energy is perl v5.42.0, dated 2025-07-28. Stay iconic, check your versions, and remember: TAP version events are lowkey self-care. πŸ’–βœ¨πŸŽ€

πŸ“¦ where this page comes from