File Coverage

blib/lib/Dist/Zilla/Pragmas.pm
Criterion Covered Total %
statement 22 22 100.0
branch 1 2 50.0
condition n/a
subroutine 6 6 100.0
pod n/a
total 29 30 96.6


line stmt bran cond sub pod time code
1             package Dist::Zilla::Pragmas 6.037;
2             # ABSTRACT: the pragmas (boilerplate!) to enable in each Dist::Zilla module
3              
4 55     55   815 use v5.20.0;
  55         225  
5 55     55   296 use strict ();
  55         114  
  55         1300  
6 55     55   261 use warnings;
  55         108  
  55         3398  
7 55     55   22572 use utf8;
  55         13131  
  55         392  
8              
9 55     55   27264 use experimental qw(signatures);
  55         213918  
  55         326  
10              
11             sub import {
12 2097     2097   17530 strict->import;
13 2097         67411 warnings->import;
14 2097         18425 utf8->import;
15              
16 2097         394080 feature->unimport(':all');
17 2097         118636 feature->import(':5.20');
18 2097         17745 feature->unimport('switch');
19              
20 2097         18156 experimental->import(qw(
21             lexical_subs
22             postderef
23             postderef_qq
24             signatures
25             ));
26              
27 2097 50       258151 feature->unimport('multidimensional') if $] >= 5.034;
28             }
29              
30             1;
31              
32             __END__
33              
34             =pod
35              
36             =encoding UTF-8
37              
38             =head1 NAME
39              
40             Dist::Zilla::Pragmas - the pragmas (boilerplate!) to enable in each Dist::Zilla module
41              
42             =head1 VERSION
43              
44             version 6.037
45              
46             =head1 PERL VERSION
47              
48             This module should work on any version of perl still receiving updates from
49             the Perl 5 Porters. This means it should work on any version of perl
50             released in the last two to three years. (That is, if the most recently
51             released version is v5.40, then this module should work on both v5.40 and
52             v5.38.)
53              
54             Although it may work on older versions of perl, no guarantee is made that the
55             minimum required version will not be increased. The version may be increased
56             for any reason, and there is no promise that patches will be accepted to
57             lower the minimum required perl.
58              
59             =head1 AUTHOR
60              
61             Ricardo SIGNES 😏 <cpan@semiotic.systems>
62              
63             =head1 COPYRIGHT AND LICENSE
64              
65             This software is copyright (c) 2026 by Ricardo SIGNES.
66              
67             This is free software; you can redistribute it and/or modify it under
68             the same terms as the Perl 5 programming language system itself.
69              
70             =cut