| 1 |
Source: libconfig-grammar-perl |
| 2 |
Section: perl |
| 3 |
Priority: optional |
| 4 |
Build-Depends: debhelper-compat (= 13) |
| 5 |
Build-Depends-Indep: perl |
| 6 |
Maintainer: Debian Perl Group <[email protected]> |
| 7 |
Uploaders: Salvatore Bonaccorso <[email protected]> |
| 8 |
Standards-Version: 4.6.1 |
| 9 |
Vcs-Browser: https://salsa.debian.org/perl-team/modules/packages/libconfig-grammar-perl |
| 10 |
Vcs-Git: https://salsa.debian.org/perl-team/modules/packages/libconfig-grammar-perl.git |
| 11 |
Homepage: https://metacpan.org/release/Config-Grammar |
| 12 |
Testsuite: autopkgtest-pkg-perl |
| 13 |
Rules-Requires-Root: no |
| 14 |
|
| 15 |
Package: libconfig-grammar-perl |
| 16 |
Architecture: all |
| 17 |
Depends: ${misc:Depends}, ${perl:Depends} |
| 18 |
Multi-Arch: foreign |
| 19 |
Description: grammar-based user-friendly config parser |
| 20 |
Config::Grammar is a module to parse configuration files. The configuration |
| 21 |
may consist of multiple-level sections with assignments and tabular data. The |
| 22 |
parsed data will be returned as a hash containing the whole configuration. |
| 23 |
Config::Grammar uses a grammar that is supplied upon creation of a |
| 24 |
Config::Grammar object to parse the configuration file and return helpful |
| 25 |
error messages in case of syntax errors. Using the makepod method you can |
| 26 |
generate documentation of the configuration file format. |
| 27 |
. |
| 28 |
The maketmpl method can generate a template configuration file. If your |
| 29 |
grammar contains regexp matches, the template will not be all that helpful as |
| 30 |
Config::Grammar is not smart enough to give you sensible template data based |
| 31 |
in regular expressions. The related function maketmplmin generates a minimal |
| 32 |
configuration template without examples, regexps or comments and thus allows |
| 33 |
an experienced user to fill in the configuration data more efficiently. |