Parse::PlainConfig::Settings(3pm)

Parse::PlainConfig::Settings3pm

Settings class

Usage

    use Parse::PlainConfig::Settings;
    my $settings = new Parse::PlainConfig::Settings;
    $ts         = $settings->tabStop;
    $subindent  = $settings->subindentation;
    $comment    = $settings->comment;
    $delim      = $settings->delimiter;
    $ldelim     = $settings->listDelimiter;
    $hdelim     = $settings->hashDelimiter;
    $hdoc       = $settings->hereDoc;
    %propTypes  = $settings->propertyTypes;
    %propRegex  = $settings->propertyRegexes;
    %prototypes = $settings->prototypes;
    %protoRegex = $settings->prototypeRegexes;

Version

$Id: lib/Parse/PlainConfig/Settings.pm, 3.07 2024/01/10 13:32:06 acorliss Exp $

Overview

The settings object is created and initialized automatically by Parse::PlainConfig.

Subroutines/methods

tabStop

    $ts         = $settings->tabStop;

Default column width for tab stops.

subindentation

    $subindent  = $settings->subindentation;

Default columns for indentation on line continuations.

comment

    $comment    = $settings->comment;

Default character sequence for comments.

delimiter

    $delim      = $settings->delimiter;

Default character sequence used as the delimiter between the parameter name and the parameter value.

listDelimiter

    $ldelim     = $settings->listDelimiter;

Default character sequence used as the delimiter between array elements.

hashDelimiter

    $hdelim     = $settings->hashDelimiter;

Default character sequence used as the delimiter between key/value pairs.

hereDoc

    $hdoc       = $settings->hereDoc;

Default character sequence used as the token marking the end of here docs.

propertyTypes

    %propTypes  = $settings->propertyTypes;

Hash of property names => data types.

propertyRegexes

    %propRegex  = $settings->propertyRegexes;

Hash of property names to regular expression to extract data from the line.

prototypes

    %prototypes = $settings->prototypes;

Hash of prototype names => data types.

prototypeRegexes

    %protoRegex = $settings->prototypeRegexes;

Hash of prototype names to regular expression to extract data from the line.

Dependencies

o

Class::EHierarchy

o

Paranoid

o

Paranoid::Debug

o

Parse::PlainConfig::Constants

Bugs and limitations

Releases

5 releases since Debian 9 (Stretch); the text changed 4 times.

  1. 9
  2. 10
  3. 11
  4. 12
  5. 13

Author

Arthur Corliss ([email protected])

From libparse-plainconfig-perl 3.07-1 in Debian 13 (Trixie). Parsed by carta from the page's man source.