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.07 2024/01/10 13:32:06 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 27     27   144115 use 5.008;
  27         92  
21              
22 27     27   134 use strict;
  27         47  
  27         790  
23 27     27   163 use warnings;
  27         52  
  27         1705  
24 27     27   186 use vars qw($VERSION @EXPORT @EXPORT_OK %EXPORT_TAGS);
  27         69  
  27         1960  
25 27     27   180 use Exporter;
  27         48  
  27         1627  
26 27     27   11996 use Class::EHierarchy qw(:all);
  27         176936  
  27         4736  
27 27     27   9969 use Paranoid::Debug;
  27         100309  
  27         2843  
28              
29 27     27   185 use base qw(Exporter);
  27         67  
  27         4072  
30              
31             ($VERSION) = ( q$Revision: 3.07 $ =~ /(\d+(?:\.(\d+))+)/sm );
32              
33 27     27   167 use constant PPCDLEVEL1 => PDEBUG6;
  27         60  
  27         1827  
34 27     27   185 use constant PPCDLEVEL2 => PDEBUG7;
  27         76  
  27         1418  
35 27     27   186 use constant PPCDLEVEL3 => PDEBUG8;
  27         87  
  27         1239  
36 27     27   134 use constant PPC_DEF_SIZE => 65_536;
  27         62  
  27         1188  
37              
38 27     27   144 use constant MTIME => 9;
  27         59  
  27         1314  
39              
40 27     27   155 use constant DEFAULT_PDLM => ':';
  27         47  
  27         1410  
41 27     27   134 use constant DEFAULT_LDLM => ',';
  27         66  
  27         1312  
42 27     27   141 use constant DEFAULT_HDLM => '=>';
  27         66  
  27         1336  
43 27     27   133 use constant DEFAULT_CMMT => '#';
  27         42  
  27         1339  
44 27     27   128 use constant DEFAULT_SUBI => 8;
  27         47  
  27         1244  
45 27     27   144 use constant DEFAULT_TAB => 8;
  27         64  
  27         1316  
46 27     27   136 use constant DEFAULT_TW => 78;
  27         61  
  27         1300  
47 27     27   136 use constant DEFAULT_HDOC => 'EOF';
  27         92  
  27         1272  
48              
49 27     27   205 use constant PPC_SCALAR => CEH_SCALAR;
  27         75  
  27         1412  
50 27     27   144 use constant PPC_ARRAY => CEH_ARRAY;
  27         80  
  27         1150  
51 27     27   219 use constant PPC_HASH => CEH_HASH;
  27         66  
  27         1286  
52 27     27   325 use constant PPC_HDOC => 1024;
  27         74  
  27         3483  
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__