Manual Reference Pages - TEST2::REQUIRE::PERL (3)
Test2::Require::Perl - Skip the test unless the necessary version of perl is
Sometimes you have tests that are nice to run, but depend on tools that may not
be available. Instead of adding the tool as a dep, or making the test always
skip, it is common to make the test run conditionally. This package helps make
# Skip the test unless perl 5.10 or greater is installed.
use Test2::Require::Perl v5.10;
# Enable 5.10 features.
The source code repository for Test2-Suite can be found at
Copyright 2015 Chad Granum <email@example.com>.
This program is free software; you can redistribute it and/or
modify it under the same terms as Perl itself.
|perl v5.20.3 ||TEST2::REQUIRE::PERL (3) ||2016-03-20 |
Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.