Generic Config Module
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%
read-compatible to apache configs, but you can also just use simple
name/value pairs in your config files.
In addition to the capabilities of a apache config file it supports some
enhancements such as here-documents, C-style comments or multiline options.
It is also possible to save the config back to disk, which makes the module
a perfect backend for configuration interfaces.
It is possible to use variables in config files and there exists also
support for object oriented access to the configuration.
- Download package
-
Checkout Package
osc -A https://api.opensuse.org checkout openSUSE:11.4/perl-Config-General && cd $_
- Create Badge
Source Files
Filename | Size | Changed |
---|---|---|
Config-General-2.48.tar.bz2 | 0000049202 48 KB | |
perl-Config-General.changes | 0000007680 7.5 KB | |
perl-Config-General.spec | 0000002751 2.69 KB |
Revision 12 (latest revision is 16)
release number sync
Comments 0