perl-Config-Grammar - A grammar-based, user-friendly config parser

Property Value
Distribution Mageia 7
Repository Mageia Core i586
Package filename perl-Config-Grammar-1.130.0-1.mga7.noarch.rpm
Package name perl-Config-Grammar
Package version 1.130.0
Package release 1.mga7
Package architecture noarch
Package type rpm
Category Development/Perl
License GPL+ or Artistic
Maintainer -
Download size 34.71 KB
Installed size 81.47 KB
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
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".


Package Version Architecture Repository
perl-Config-Grammar-1.130.0-1.mga7.noarch.rpm 1.130.0 noarch Mageia Core
perl-Config-Grammar - - -


Name Value
perl(Config::Grammar) -
perl(base) -
perl(strict) -
perl-base >= 5.28.1


Name Value
perl(Config::Grammar) = 1.130.0
perl(Config::Grammar::Document) -
perl(Config::Grammar::Dynamic) -
perl-Config-Grammar = 1.130.0-1.mga7


Type URL
Binary Package perl-Config-Grammar-1.130.0-1.mga7.noarch.rpm
Source Package perl-Config-Grammar-1.130.0-1.mga7.src.rpm

Install Howto

  1. Enable the repository in Software Management
  2. Install perl-Config-Grammar rpm package:
    # dnf --refresh install perl-Config-Grammar




2019-03-21 - tv <tv> 1.130.0-1.mga7
+ Revision: 1379345
- update to 1.13
2018-09-20 - umeabot <umeabot> 1.120.0-2.mga7
+ Revision: 1282343
- Mageia 7 Mass Rebuild
2017-07-30 - sander85 <sander85> 1.120.0-1.mga7
+ Revision: 1132694
- update to 1.12

See Also

Package Description
perl-Config-Hosts-0.30.0-6.mga7.noarch.rpm Config::Hosts is an interface to /etc/hosts file
perl-Config-INI-0.25.0-4.mga7.noarch.rpm A subclassable .ini-file emitter
perl-Config-INI-Reader-Ordered-0.20.0-2.mga7.noarch.rpm .ini-file parser that returns sections in order
perl-Config-INI-Simple-1.0.0-4.mga7.noarch.rpm Simple reading and writing from an INI file--with preserved comments
perl-Config-Identity-0.1.900-2.mga7.noarch.rpm Load (and optionally decrypt via GnuPG) user/pass identity information
perl-Config-IniFiles-3.0.2-1.mga7.noarch.rpm A module for reading .ini-style configuration files
perl-Config-JFDI-0.65.0-8.mga7.noarch.rpm Just * Do it: A Catalyst::Plugin::ConfigLoader-style layer over Config::Any
perl-Config-MVP-2.200.11-2.mga7.noarch.rpm Multivalue-property config-loading state machine
perl-Config-MVP-Reader-INI-2.101.463-7.mga7.noarch.rpm Multi-value capable .ini file reader (for plugins)
perl-Config-MVP-Slicer-0.303.0-3.mga7.noarch.rpm Extract embedded plugin config from parent config
perl-Config-Merge-1.40.0-3.mga7.noarch.rpm Load Perl config files
perl-Config-Model-2.133.0-1.mga7.noarch.rpm Framework for config validation and edition
perl-Config-Model-CursesUI-1.106.0-3.mga7.noarch.rpm Curses interface for Config::Model
perl-Config-Model-Itself-2.16.0-1.mga7.noarch.rpm Edit and validate configuration models
perl-Config-Model-OpenSsh-1.241.0-1.mga7.noarch.rpm OpenSsh configuration files editor and API