| 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.11'; | |
| 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__ | ||
| 50 | |||
| 51 | =pod | ||
| 52 | |||
| 53 | =head1 NAME | ||
| 54 | |||
| 55 | CPAN::Maker::Constants - constants to support CPAN::Maker | ||
| 56 | |||
| 57 | =head1 SYNOPSIS | ||
| 58 | |||
| 59 | use CPAN::Maker::Constants qw(all); | ||
| 60 | |||
| 61 | =head1 DESCRIPTION | ||
| 62 | |||
| 63 | Import tags: | ||
| 64 | |||
| 65 | chars | ||
| 66 | defaults | ||
| 67 | |||
| 68 | =head1 AUTHOR | ||
| 69 | |||
| 70 | Rob Lauer - <rlauer6@comcast.net> | ||
| 71 | |||
| 72 | =cut | ||