Test2:...::Skip(3perl)
π Test2::Event::Skip β bestie's guide to the skip event π
okay so real talk, this is Test2::Event::Skip from the Perl Programmers Reference Guide, and it's giving β¨ officially documented Perl core module β¨. let's get into it π«Ά
πΈ NAME πΈ
Test2::Event::Skip β it's the Skip event type, no cap π
π¦ DESCRIPTION π¦
so like. Skip events? they bump your test counts just like Test2::Event::Ok events do π but here's the tea: they can never fail. literally never. that's the whole vibe check. passing is not optional, it's destiny πβ¨
π SYNOPSIS π
two ways to do the thing, bestie. pick your fighter:
use Test2::API qw/context/;
use Test2::Event::Skip;
my $ctx = context();
my $event = $ctx->skip($name, $reason);
or, if you're feeling extra fancy π :
my $ctx = context();
my $event = $ctx->send_event(
'Skip',
name => $name,
reason => $reason,
);
β¨ ACCESSORS β¨
$reason = $e->reasonβ this hands you back the original true/false value of whatever got passed into the event... except it's been squished down to just1or0. so like, don't expect your original value back, expect the vibe of it, reduced to its purest binary form π§ no bc that's iconic actually
π SOURCE π
the source code repo for Test2 lives at <https://github.com/Test-More/test-more/> β go lurk, it's fine, we all do it π
π MAINTAINERS π
Chad Granum <exodist@cpan.org> β carrying this module on his back, main character energy fr fr
π AUTHORS π
Chad Granum <exodist@cpan.org> β same icon, yes, he's both, we love a multitasker
β 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/>
ok so that's the whole page bestie π nothing skipped (ironically), every single detail present and accounted for. you're welcome.
cute lil sign-off time π this was pulled from perl v5.44.0, dated 2026-10-17, and yeah the page header/footer was calling it Test2:...::Skip(3perl) but we both know what's up β¨ periodt π
π¦ 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