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 just 1 or 0. 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 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