DOKK / manpages / debian 12 / libparse-plainconfig-perl / Parse::PlainConfig::Constants.3pm.en
Parse::PlainConfig::Constants(3pm) User Contributed Perl Documentation Parse::PlainConfig::Constants(3pm)

Parse::PlainConfig::Constants - PPC Constants

$Id: lib/Parse/PlainConfig/Constants.pm, 3.05 2017/02/06 10:36:37 acorliss Exp $

    use Parse::PlainConfig::Constants;
    $scalarType = PPC_SCALAR;
    $arrayType  = PPC_ARRAY;
    $hashType   = PPC_HASH;
    $hdocType   = PPC_HDOC;

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 STDERR.

None.

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

PPC_SCALAR

Scalar data type. Leading and trailing white space is trimmed.

PPC_ARRAY

Array data type. Leading and trailing white space for all elements is trimmed.

PPC_HASH

Hash data type. Leading and trailing white space for all keys and values is trimmed.

PPC_HDOC

Here doc data type. Functionally equivalent to PPC_SCALAR.

The higher the debug level the more verbose the output.

PPCDLEVEL1

PPCDLEVEL2

PPCDLEVEL3

Arthur Corliss (corliss@digitalmages.com)

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)

2022-10-14 perl v5.34.0