perl-Config-Grammar - A grammar-based, user-friendly config parser
Website: | http://search.cpan.org/dist/Config-Grammar/ |
---|---|
License: | GPL+ or Artistic |
Vendor: | Unixadm.org |
- Description:
Config::Grammar is a module to parse configuration files. The optional second parameter to the parse() method can be used to specify the file encoding to use for opening the file (see documentation for Perl's use open pragma). 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.
Packages
perl-Config-Grammar-1.13-1.el8-noarch [35 KiB] |
Changelog
by Philippe Kueck (2020-03-20):
- initial packaging |
Package contents (click to display)
[f] /usr/share/perl5/vendor_perl/Config/Grammar/Dynamic.pm
[f] /usr/share/perl5/vendor_perl/Config/Grammar/Document.pm [f] /usr/share/perl5/vendor_perl/Config/Grammar.pm [d] /usr/share/perl5/vendor_perl/Config/Grammar [d] /usr/share/perl5/vendor_perl/Config [f] /usr/share/man/man3/Config::Grammar::Dynamic.3pm.gz [f] /usr/share/man/man3/Config::Grammar.3pm.gz [f] /usr/share/licenses/perl-Config-Grammar/LICENSE [d] /usr/share/licenses/perl-Config-Grammar [f] /usr/share/doc/perl-Config-Grammar/README [f] /usr/share/doc/perl-Config-Grammar/Changes [d] /usr/share/doc/perl-Config-Grammar |