Skip to content
Sections
>> Trisquel >> 软件包 >> etiona >> perl >> libconfig-grammar-perl
etiona  ] [  nabia  ] [  aramo  ]
[ 源代码: libconfig-grammar-perl  ]

软件包: libconfig-grammar-perl (1.12-1)

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.

其他与 libconfig-grammar-perl 有关的软件包

  • 依赖
  • 推荐
  • 建议
  • dep: perl
    Larry Wall's Practical Extraction and Report Language

下载 libconfig-grammar-perl

下载可用于所有硬件架构的
硬件架构 软件包大小 安装后大小 文件
all 21.1 kB75 kB [文件列表]