View on
MetaCPAN
Arthur Corliss > Parse-PlainConfig-3.02 > Parse::PlainConfig::Constants

Download:
Parse-PlainConfig/Parse-PlainConfig-3.02.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  1
Open  0
View/Report Bugs
Module Version: 3.02   Source   Latest Release: Parse-PlainConfig-3.05

NAME ^

Parse::PlainConfig::Constants - PPC Constants

VERSION ^

$Id: lib/Parse/PlainConfig/Constants.pm, 3.02 2016/05/26 13:04:45 acorliss Exp $

SYNOPSIS ^

    use Parse::PlainConfig::Constants;

    $scalarType = PPC_SCALAR;
    $arrayType  = PPC_ARRAY;
    $hashType   = PPC_HASH;
    $hdocType   = PPC_HDOC;

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

SUBROUTINES/METHODS ^

None.

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

std

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.

debug

The higher the debug level the more verbose the output.

PPCDLEVEL1

PPCDLEVEL2

PPCDLEVEL3

all

DEPENDENCIES ^

o Exporter

BUGS AND LIMITATIONS ^

AUTHOR ^

Arthur Corliss (corliss@digitalmages.com)

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)

syntax highlighting: