lib/CPAN/Maker/Constants.pm

filter: Statementstmt 100% 25 / 25 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 4 / 4 Podpod n/a totaltotal 100% 29 / 29 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« script/make-cpan-dist.pl ↑ Summary
1 package CPAN::Maker::Constants;
2  
3 1 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
4 1 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
5  
6 1 ▶use parent qw( Exporter );
Subroutine BEGIN: called CC=1 SCAR=0.0
7  
8 1 our $VERSION = '2.0.13';
9  
10 1 our @EXPORT_OK = ();
11  
12 1 ▶use Readonly;
Subroutine BEGIN: called CC=1 SCAR=0.0
13  
14 # chars
15 1 Readonly our $FAT_ARROW => q{=>};
16 1 Readonly our $INDENT => 4;
17 1 Readonly our $NL => qq{\n};
18  
19 # defaults
20 1 Readonly our $DEFAULT_PERL_VERSION => '5.010';
21 1 Readonly our $NO_VERSION => 0;
22  
23 1 our %EXPORT_TAGS = (
24 'defaults' => [
25 qw{
26 $DEFAULT_PERL_VERSION
27 $NO_VERSION
28 }
29 ],
30 'chars' => [
31 qw{
32 $FAT_ARROW
33 $INDENT
34 $NL
35 }
36 ],
37 );
38  
39 1 foreach my $k ( keys %EXPORT_TAGS ) {
40 2 push @EXPORT_OK, @{ $EXPORT_TAGS{$k} };
41 } ## end foreach my $k ( keys %EXPORT_TAGS)
42  
43 1 $EXPORT_TAGS{'all'} = [@EXPORT_OK];
44  
45 1 1;
46  
47 ## no critic (RequirePodSections)
48  
49 __END__
« script/make-cpan-dist.pl ↑ Summary