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 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