File Coverage

blib/lib/Parse/PlainConfig/Constants.pm
Criterion Covered Total %
statement 74 74 100.0
branch n/a
condition n/a
subroutine 25 25 100.0
pod n/a
total 99 99 100.0


line stmt bran cond sub pod time code
1             # Parse::PlainConfig::Constants -- PPC Constants
2             #
3             # (c) 2016 - 2013, Arthur Corliss
4             #
5             # $Id: lib/Parse/PlainConfig/Constants.pm, 3.06 2023/09/23 19:24:20 acorliss Exp $
6             #
7             # This software is licensed under the same terms as Perl, itself.
8             # Please see http://dev.perl.org/licenses/ for more information.
9             #
10             #####################################################################
11              
12             #####################################################################
13             #
14             # Environment definitions
15             #
16             #####################################################################
17              
18             package Parse::PlainConfig::Constants;
19              
20 26     26   72740 use 5.008;
  26         96  
21              
22 26     26   133 use strict;
  26         63  
  26         641  
23 26     26   153 use warnings;
  26         69  
  26         1035  
24 26     26   194 use vars qw($VERSION @EXPORT @EXPORT_OK %EXPORT_TAGS);
  26         55  
  26         1760  
25 26     26   163 use Exporter;
  26         60  
  26         1107  
26 26     26   12112 use Class::EHierarchy qw(:all);
  26         156299  
  26         4115  
27 26     26   8876 use Paranoid::Debug;
  26         85310  
  26         2317  
28              
29 26     26   194 use base qw(Exporter);
  26         59  
  26         2988  
30              
31             ($VERSION) = ( q$Revision: 3.06 $ =~ /(\d+(?:\.(\d+))+)/sm );
32              
33 26     26   190 use constant PPCDLEVEL1 => PDEBUG6;
  26         58  
  26         1594  
34 26     26   159 use constant PPCDLEVEL2 => PDEBUG7;
  26         52  
  26         1238  
35 26     26   146 use constant PPCDLEVEL3 => PDEBUG8;
  26         66  
  26         1410  
36 26     26   175 use constant PPC_DEF_SIZE => 65_536;
  26         57  
  26         1455  
37              
38 26     26   184 use constant MTIME => 9;
  26         72  
  26         1556  
39              
40 26     26   171 use constant DEFAULT_PDLM => ':';
  26         48  
  26         1315  
41 26     26   160 use constant DEFAULT_LDLM => ',';
  26         51  
  26         1393  
42 26     26   159 use constant DEFAULT_HDLM => '=>';
  26         61  
  26         1475  
43 26     26   164 use constant DEFAULT_CMMT => '#';
  26         249  
  26         1374  
44 26     26   168 use constant DEFAULT_SUBI => 8;
  26         374  
  26         1465  
45 26     26   165 use constant DEFAULT_TAB => 8;
  26         55  
  26         1418  
46 26     26   199 use constant DEFAULT_TW => 78;
  26         51  
  26         1409  
47 26     26   193 use constant DEFAULT_HDOC => 'EOF';
  26         70  
  26         1484  
48              
49 26     26   156 use constant PPC_SCALAR => CEH_SCALAR;
  26         45  
  26         1383  
50 26     26   166 use constant PPC_ARRAY => CEH_ARRAY;
  26         79  
  26         1395  
51 26     26   159 use constant PPC_HASH => CEH_HASH;
  26         57  
  26         1553  
52 26     26   169 use constant PPC_HDOC => 512;
  26         50  
  26         4875  
53              
54             @EXPORT = qw(PPC_SCALAR PPC_ARRAY PPC_HASH PPC_HDOC);
55             @EXPORT_OK = (
56             @EXPORT, qw(PPCDLEVEL1 PPCDLEVEL2 PPCDLEVEL3 PPC_DEF_SIZE
57             MTIME DEFAULT_TW DEFAULT_PDLM DEFAULT_LDLM DEFAULT_HDLM
58             DEFAULT_CMMT DEFAULT_SUBI DEFAULT_TAB DEFAULT_HDOC)
59             );
60             %EXPORT_TAGS = (
61             all => [@EXPORT_OK],
62             std => [@EXPORT],
63             debug => [qw(PPCDLEVEL1 PPCDLEVEL2 PPCDLEVEL3)],
64             );
65              
66             #####################################################################
67             #
68             # Module code follows
69             #
70             #####################################################################
71              
72             1;
73              
74             __END__