perl-Config-Grammar - Grammar-Based, User-Friendly Config Parser

Distribution: openSUSE 42.2
Repository: openSUSE Education all
Package name: perl-Config-Grammar
Package version: 1.12
Package release: 19.2
Package architecture: noarch
Package type: rpm
Installed size: 79.67 KB
Download size: 31.63 KB
Official Mirror:
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.



  • perl(Config::Grammar) = 1.12
  • perl(Config::Grammar::Document)
  • perl(Config::Grammar::Dynamic)
  • perl-Config-Grammar = 1.12-19.2

    Install Howto

    1. Add the openSUSE Education repository:
      # zypper addrepo opensuse-education
    2. Install perl-Config-Grammar rpm package:
      # zypper install perl-Config-Grammar


    • /usr/lib/perl5/vendor_perl/5.18.2/Config/
    • /usr/lib/perl5/vendor_perl/5.18.2/Config/Grammar/
    • /usr/lib/perl5/vendor_perl/5.18.2/Config/Grammar/
    • /usr/lib/perl5/vendor_perl/5.18.2/x86_64-linux-thread-multi/
    • /usr/share/doc/packages/perl-Config-Grammar/Changes
    • /usr/share/doc/packages/perl-Config-Grammar/LICENSE
    • /usr/share/doc/packages/perl-Config-Grammar/README
    • /usr/share/man/man3/Config::Grammar.3pm.gz
    • /usr/share/man/man3/Config::Grammar::Dynamic.3pm.gz


    2016-09-10 - - updated to 1.12 see /usr/share/doc/packages/perl-Config-Grammar/Changes UNRELEASED * Fixes 'Name "Config::Grammar::File" used only once' (patch by Salvatore Bonaccorso) * Fix spelling error in manpage (patch by Salvatore Bonaccorso) * Use Dist::Zilla to prepare the Perl distribution for CPAN

    2016-02-09 - - updated to 1.11 see /usr/share/doc/packages/perl-Config-Grammar/Changes 2016-02-08 * Released 1.11 * Allow specification of file encoding (Fritz Zaucker)

    2011-12-25 - - initial package 1.10 * created by cpanspec 1.78.06