File Coverage

blib/lib/Dist/Zilla/Pragmas.pm
Criterion Covered Total %
statement 18 18 100.0
branch 1 2 50.0
condition n/a
subroutine 5 5 100.0
pod n/a
total 24 25 96.0


line stmt bran cond sub pod time code
1             # ABSTRACT: the pragmas (boilerplate!) to enable in each Dist::Zilla module
2              
3             use v5.20.0;
4 55     55   1315 use warnings;
  55         239  
5 55     55   310 use utf8;
  55         121  
  55         1678  
6 55     55   26589  
  55         691  
  55         310  
7             use experimental qw(signatures);
8 55     55   25186  
  55         181015  
  55         313  
9             warnings->import;
10             utf8->import;
11 2097     2097   28406  
12 2097         15476 feature->unimport(':all');
13             feature->import(':5.20');
14 2097         216745 feature->unimport('switch');
15 2097         73903  
16 2097         18683 experimental->import(qw(
17             lexical_subs
18 2097         17743 postderef
19             postderef_qq
20             signatures
21             ));
22              
23             feature->unimport('multidimensional') if $] >= 5.034;
24             }
25 2097 50       279425  
26             1;
27              
28              
29             =pod
30              
31             =encoding UTF-8
32              
33             =head1 NAME
34              
35             Dist::Zilla::Pragmas - the pragmas (boilerplate!) to enable in each Dist::Zilla module
36              
37             =head1 VERSION
38              
39             version 6.028
40              
41             =head1 PERL VERSION
42              
43             This module should work on any version of perl still receiving updates from
44             the Perl 5 Porters. This means it should work on any version of perl released
45             in the last two to three years. (That is, if the most recently released
46             version is v5.40, then this module should work on both v5.40 and v5.38.)
47              
48             Although it may work on older versions of perl, no guarantee is made that the
49             minimum required version will not be increased. The version may be increased
50             for any reason, and there is no promise that patches will be accepted to lower
51             the minimum required perl.
52              
53             =head1 AUTHOR
54              
55             Ricardo SIGNES 😏 <cpan@semiotic.systems>
56              
57             =head1 COPYRIGHT AND LICENSE
58              
59             This software is copyright (c) 2022 by Ricardo SIGNES.
60              
61             This is free software; you can redistribute it and/or modify it under
62             the same terms as the Perl 5 programming language system itself.
63              
64             =cut