Test2:...ersion(3perl)
πΈ Test2::Event::TAP::Version β the vibe
okay bestie, welcome to the Perl Programmers Reference Guide, section 3perl β this is the page for Test2:...ersion(3perl), and yes the truncated name in the corner is giving "we ran out of room on the header" but it's literally just us talking about Test2::Event::TAP::Version π
β¨ NAME β¨
Test2::Event::TAP::Version β it's the event for TAP version. that's the whole job. iconic. π
π DESCRIPTION π
so basically: if a TAP formatter is out here wanting to set a version, this is the event it reaches for. that's it. that's the function. no cap π«Ά
π SYNOPSIS π
use Test2::API qw/context/;
use Test2::Event::Encoding;
my $ctx = context();
my $event = $ctx->send_event('TAP::Version', version => 42);
look at her go β grab a context, then send_event a 'TAP::Version' with version => 42. slay π
π¦ METHODS π¦
she inherits from Test2::Event (so all that good stuff comes along for free, iykyk).
also defines her own lil method, and it's this one:
$version = $e->versionβ hands you back the TAP version being parsed. that's the whole thing. very demure, very mindful π
π₯ SOURCE π₯
the source code repository for Test2 lives at:
<https://github.com/Test-More/test-more/>
go peek, go read, go be nosy, no shame π«Ά
π MAINTAINERS π
- Chad Granum
<exodist@cpan.org>
β AUTHORS β
- Chad Granum
<exodist@cpan.org>
π COPYRIGHT π
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/>
okay legal bit out of the way, we love a tidy license section, we respect it, we move on π
and that's a wrap, bestie β this page is from perl v5.44.0, dated 2026-10-17, and it genuinely ate β¨ go forth and version your TAP, mwah π
π¦ where this page comes from
- arch rolling: perl 5.44.0-1 Β· Artistic-1.0-Perl AND GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms