Generic Config Module

Edit Package perl-Config-General

This module opens a config file and parses its contents for you. The *new*
method requires one parameter which needs to be a filename. The method
*getall* returns a hash which contains all options and its associated
values of your config file.

The format of config files supported by *Config::General* is inspired by
the well known Apache config format, in fact, this module is 100%
compatible to Apache configs, but you can also just use simple name/value
pairs in your config files.

In addition to the capabilities of an Apache config file it supports some
enhancements such as here-documents, C-style comments or multiline options.

Refresh
Refresh
Source Files
Filename Size Changed
Config-General-2.51.tar.gz 0000059055 57.7 KB
perl-Config-General.changes 0000009587 9.36 KB
perl-Config-General.spec 0000002394 2.34 KB
Revision 25 (latest revision is 38)
Stephan Kulow's avatar Stephan Kulow (coolo) accepted request 177366 from Stephan Kulow's avatar Stephan Kulow (coolo) (revision 25)
- updated to 2.51
      - fixed rt.cpan.org#77667 which resulted in invalid configs
        written to file when using save_file() and a named block,
        whose 2nd part starts with a /.
      - fixed rt.cpan.org#64169 by applying patch by Dulaunoy Fabrice.
        adds -NoEscape switch which turns off escaping of anything.
      - implemented suggestion of rt.cpan.org#67564 by adding 3 new
        parameters: -NormalizeOption, -NormalizeBlock and -NormalizeValue,
        which take a subroutine reference and change the block,
        option or value accordingly.
      
      - fixed rt.cpan.org#65860+76953 undefined value error. (forwarded request 177288 from coolo)
Comments 0
openSUSE Build Service is sponsored by