1Test2::Require::Perl(3)User Contributed Perl DocumentatioTnest2::Require::Perl(3)
2
3
4

NAME

6       Test2::Require::Perl - Skip the test unless the necessary version of
7       Perl is installed.
8

DESCRIPTION

10       Sometimes you have tests that are nice to run, but depend on a certain
11       version of Perl. This package lets you run the test conditionally,
12       depending on if the correct version of Perl is available.
13

SYNOPSIS

15           # Skip the test unless perl 5.10 or greater is installed.
16           use Test2::Require::Perl 'v5.10';
17
18           # Enable 5.10 features.
19           use v5.10;
20

SOURCE

22       The source code repository for Test2-Suite can be found at
23       https://github.com/Test-More/Test2-Suite/.
24

MAINTAINERS

26       Chad Granum <exodist@cpan.org>
27

AUTHORS

29       Chad Granum <exodist@cpan.org>
30
32       Copyright 2018 Chad Granum <exodist@cpan.org>.
33
34       This program is free software; you can redistribute it and/or modify it
35       under the same terms as Perl itself.
36
37       See http://dev.perl.org/licenses/
38
39
40
41perl v5.32.1                      2021-01-27           Test2::Require::Perl(3)
Impressum