Index | index by Group | index by Distribution | index by Vendor | index by creation date | index by Name | Mirrors | Help | Search |
Name: perl-Config-Grammar | Distribution: Mageia |
Version: 1.130.0 | Vendor: Mageia.Org |
Release: 3.mga9 | Build date: Mon Mar 21 06:04:39 2022 |
Group: Development/Perl | Build host: localhost |
Size: 83423 | Source RPM: perl-Config-Grammar-1.130.0-3.mga9.src.rpm |
Packager: umeabot <umeabot> | |
Url: https://metacpan.org/release/Config-Grammar | |
Summary: 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. Grammar Definition The grammar is a multiple-level hash of hashes, which follows the structure of the configuration. Each section or variable is represented by a hash with the same structure. Each hash contains special keys starting with an underscore such as '_sections', '_vars', '_sub' or '_re' to denote meta data with information about that section or variable. Other keys are used to structure the hash according to the same nesting structure of the configuration itself. The starting hash given as parameter to 'new' contains the "root section".
GPL+ or Artistic
* Mon Mar 21 2022 umeabot <umeabot> 1.130.0-3.mga9 + Revision: 1811578 - Mageia 9 Mass Rebuild
/usr/share/doc/perl-Config-Grammar /usr/share/doc/perl-Config-Grammar/Changes /usr/share/doc/perl-Config-Grammar/LICENSE /usr/share/doc/perl-Config-Grammar/META.json /usr/share/doc/perl-Config-Grammar/META.yml /usr/share/doc/perl-Config-Grammar/MYMETA.yml /usr/share/doc/perl-Config-Grammar/README /usr/share/man/man3/Config::Grammar.3pm.xz /usr/share/man/man3/Config::Grammar::Dynamic.3pm.xz /usr/share/perl5/vendor_perl/Config /usr/share/perl5/vendor_perl/Config/Grammar /usr/share/perl5/vendor_perl/Config/Grammar.pm /usr/share/perl5/vendor_perl/Config/Grammar/Document.pm /usr/share/perl5/vendor_perl/Config/Grammar/Dynamic.pm
Generated by rpm2html 1.8.1
Fabrice Bellet, Wed Jan 22 09:05:03 2025