Config::General is a perl module opens a config file and parses it's contents for you.
Config::General library provides variable interpolation, saving of configs (kinda serializer), an OOP-Interface and much more.
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(read-only), 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.
Installation:
To install, type:
perl Makefile.PL
make
make test
make install
To read the complete documentation, type:
perldoc Config::General
perldoc Config::General::Extended
perldoc Config::General::Interpolated
See some example config files which can be parsed with Config::Genreal in the subdirectory t/cfg.*
Product's homepage
Requirements:
· Perl
What's New in This Release: [ read full changelog ]
· This version fixes a couple of bugs and adds new features which allow turning off escaping and manipulating configuration options or values by using a subroutine reference.