Parse::PlainConfig::Settings(3pm) | User Contributed Perl Documentation | Parse::PlainConfig::Settings(3pm) |
Parse::PlainConfig::Settings - Settings Class
$Id: lib/Parse/PlainConfig/Settings.pm, 3.05 2017/02/06 10:36:37 acorliss Exp $
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;
The settings object is created and initialized automatically by Parse::PlainConfig.
$ts = $settings->tabStop;
Default column width for tab stops.
$subindent = $settings->subindentation;
Default columns for indentation on line continuations.
$comment = $settings->comment;
Default character sequence for comments.
$delim = $settings->delimiter;
Default character sequence used as the delimiter between the parameter name and the parameter value.
$ldelim = $settings->listDelimiter;
Default character sequence used as the delimiter between array elements.
$hdelim = $settings->hashDelimiter;
Default character sequence used as the delimiter between key/value pairs.
$hdoc = $settings->hereDoc;
Default character sequence used as the token marking the end of here docs.
%propTypes = $settings->propertyTypes;
Hash of property names => data types.
%propRegex = $settings->propertyRegexes;
Hash of property names to regular expression to extract data from the line.
%prototypes = $settings->prototypes;
Hash of prototype names => data types.
%protoRegex = $settings->prototypeRegexes;
Hash of prototype names to regular expression to extract data from the line.
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) 2015, Arthur Corliss (corliss@digitalmages.com)
2022-10-14 | perl v5.34.0 |