Test2::...e::Perl(3pm)
hey bestie, welcome to the Test2::...e::Perl(3pm) page from the Perl Programmers Reference Guide β the module doing the actual work here is Test2::Require::Perl, and she is literally here to save you from running tests on a Perl that is not the right version. π
πΈ NAME πΈ
Test2::Require::Perl β skip the test unless the necessary version of Perl is installed. no cap, that is the whole name-and-purpose vibe. β¨
π DESCRIPTION π
okay so sometimes you have tests that are nice to run, but they depend on a certain version of Perl. This package lets you run the test conditionally, depending on if the correct version of Perl is available. That is it, that is the assignment. π«Ά
β¨ SYNOPSIS β¨
# Skip the test unless perl 5.10 or greater is installed.
use Test2::Require::Perl 'v5.10';
# Enable 5.10 features.
use v5.10;
π«Ά SOURCE π«Ά
The source code repository for Test2-Suite can be found at https://github.com/Test-More/test-more/. go off, repo. π₯
π 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 http://dev.perl.org/licenses/.
that is the whole page, bestie π
β perl v5.42.3, dated 2026-11-03, manual page Test2::...e::Perl(3pm). slay π¦
π¦ 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