A grammar-based, user-friendly config parser
Config::Grammar is a module to parse configuration files. The configuration
may consist of multiple-level sections with assignments and tabular data.
The parsed data will be returned as a hash containing the whole
configuration. Config::Grammar uses a grammar that is supplied upon
creation of a Config::Grammar object to parse the configuration file and
return helpful error messages in case of syntax errors. Using the *makepod*
method you can generate documentation of the configuration file format.
The *maketmpl* method can generate a template configuration file. If your
grammar contains regexp matches, the template will not be all that helpful
as Config::Grammar is not smart enough to give you sensible template data
based in regular expressions. The related function *maketmplmin* generates
a minimal configuration template without examples, regexps or comments and
thus allows an experienced user to fill in the configuration data more
efficiently.
- Sources inherited from project openSUSE:Backports:SLE-15-SP5
- Download package
-
Checkout Package
osc -A https://api.opensuse.org checkout openSUSE:Leap:15.5:Update/perl-Config-Grammar && cd $_
- Create Badge
Source Files
Filename | Size | Changed |
---|---|---|
Config-Grammar-1.13.tar.gz | 0000026281 25.7 KB | |
cpanspec.yml | 0000000669 669 Bytes | |
perl-Config-Grammar.changes | 0000001127 1.1 KB | |
perl-Config-Grammar.spec | 0000002762 2.7 KB |
Latest Revision
Automatically create request by update submitter.This is going to update package to openSUSE:Backports:SLE-15-SP5 from openSUSE:Factory.Please review this change and decline it if Leap do not need it.
Comments 0