TEST2::HUB::SUBTEST(3pm)
π NAME π
okay so bestie, welcome to the manual page for Test2::Hub::Subtest β the 3pm page from the Perl Programmers Reference Guide. This is the hub used by subtests. That's the name and the vibe, slay.
π§ DESCRIPTION π§
Subtests make use of this hub to route events. It's giving traffic control but make it Perl, and honestly? iconic.
β¨ TOGGLES β¨
$bool = $hub->manual_skip_allβ the read side of the toggle.$hub->set_manual_skip_all($bool)β the write side; hand it a$bool.
The default is false.
Normally a skip-all plan event will cause a subtest to stop executing. This is accomplished via last LABEL to a label inside the subtest code. Most of the time this is perfectly fine. There are times however where this flow control causes bad things to happen.
This toggle lets you turn off the abort logic for the hub. When this is toggled to true you are responsible for ensuring no additional events are generated.
β οΈ so like, when you flip it to true, the hub stops doing the abort thing for you β and you're the main character now, which means you gotta make sure no extra events get generated. no cap.
π SOURCE π
The source code repository for Test2 can be found at <https://github.com/Test-More/test-more/>. Go look, it's cute.
π MAINTAINERS π
Chad Granum <exodist@cpan.org> β keeping it maintained, king behavior.
π AUTHORS π
Chad Granum <exodist@cpan.org> β author credit, same legend.
π 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/>.
and that's the page, bestie π«Ά this cutie comes from perl v5.42.3, dated 2026-11-03, and its manual name is Test2::...:Subtest(3pm) β mwah π
π¦ where this page comes from
- alpine 3.24: perl-doc 5.42.3-r0 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms