/usr/share/perl5/Parse/PlainConfig/Constants.pm is in libparse-plainconfig-perl 3.03-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 | # Parse::PlainConfig::Constants -- PPC Constants
#
# (c) 2012, Arthur Corliss <corliss@digitalmages.com>
#
# $Id: lib/Parse/PlainConfig/Constants.pm, 3.03 2016/08/09 16:11:12 acorliss Exp $
#
# This software is licensed under the same terms as Perl, itself.
# Please see http://dev.perl.org/licenses/ for more information.
#
#####################################################################
#####################################################################
#
# Environment definitions
#
#####################################################################
package Parse::PlainConfig::Constants;
use 5.008;
use strict;
use warnings;
use vars qw($VERSION @EXPORT @EXPORT_OK %EXPORT_TAGS);
use Exporter;
use Class::EHierarchy qw(:all);
use base qw(Exporter);
($VERSION) = ( q$Revision: 3.03 $ =~ /(\d+(?:\.(\d+))+)/sm );
use constant PPCDLEVEL1 => 7;
use constant PPCDLEVEL2 => 8;
use constant PPCDLEVEL3 => 9;
use constant PPC_DEF_SIZE => 65_536;
use constant MTIME => 9;
use constant DEFAULT_PDLM => ':';
use constant DEFAULT_LDLM => ',';
use constant DEFAULT_HDLM => '=>';
use constant DEFAULT_CMMT => '#';
use constant DEFAULT_SUBI => 8;
use constant DEFAULT_TAB => 8;
use constant DEFAULT_TW => 78;
use constant DEFAULT_HDOC => 'EOF';
use constant PPC_SCALAR => CEH_SCALAR;
use constant PPC_ARRAY => CEH_ARRAY;
use constant PPC_HASH => CEH_HASH;
use constant PPC_HDOC => 512;
@EXPORT = qw(PPC_SCALAR PPC_ARRAY PPC_HASH PPC_HDOC);
@EXPORT_OK = (
@EXPORT, qw(PPCDLEVEL1 PPCDLEVEL2 PPCDLEVEL3 PPC_DEF_SIZE
MTIME DEFAULT_TW DEFAULT_PDLM DEFAULT_LDLM DEFAULT_HDLM
DEFAULT_CMMT DEFAULT_SUBI DEFAULT_TAB DEFAULT_HDOC)
);
%EXPORT_TAGS = (
all => [@EXPORT_OK],
std => [@EXPORT],
debug => [qw(PPCDLEVEL1 PPCDLEVEL2 PPCDLEVEL3)],
);
#####################################################################
#
# Module code follows
#
#####################################################################
1;
__END__
=head1 NAME
Parse::PlainConfig::Constants - PPC Constants
=head1 VERSION
$Id: lib/Parse/PlainConfig/Constants.pm, 3.03 2016/08/09 16:11:12 acorliss Exp $
=head1 SYNOPSIS
use Parse::PlainConfig::Constants;
$scalarType = PPC_SCALAR;
$arrayType = PPC_ARRAY;
$hashType = PPC_HASH;
$hdocType = PPC_HDOC;
=head1 DESCRIPTION
This module provides a number of constants that are used mostly internally.
That said, the default export provides the basic data types you'll need to
declare your parameter types.
You can also export debug level constants to provide trace information out to
B<STDERR>.
=head1 SUBROUTINES/METHODS
None.
=head1 CONSTANTS
THere are three export sets provided by this module:
Set Description
----------------------------------------------------
std Parameter data type constants
debug Debug level constants
all All constants (including internall constants
=head2 std
=head3 PPC_SCALAR
Scalar data type. Leading and trailing white space is trimmed.
=head3 PPC_ARRAY
Array data type. Leading and trailing white space for all elements is trimmed.
=head3 PPC_HASH
Hash data type. Leading and trailing white space for all keys and values is
trimmed.
=head3 PPC_HDOC
Here doc data type. Functionally equivalent to L<PPC_SCALAR>.
=head2 debug
The higher the debug level the more verbose the output.
=head3 PPCDLEVEL1
=head3 PPCDLEVEL2
=head3 PPCDLEVEL3
=head2 all
=head1 DEPENDENCIES
=over
=item o Exporter
=back
=head1 BUGS AND LIMITATIONS
=head1 AUTHOR
Arthur Corliss (corliss@digitalmages.com)
=head1 LICENSE AND COPYRIGHT
This software is licensed under the same terms as Perl, itself.
Please see http://dev.perl.org/licenses/ for more information.
(c) 2016, Arthur Corliss (corliss@digitalmages.com)
|