This perl module opens a config file and parses it's contents for you. It 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.
/* * c-style comment */
# variable assignment option1 = blah option2 blubber option3 = "something special" option4 = parameters can be written on \ multiple lines
# duplicate options will be made into an array huc = 12 huc = 17 huc = 133
# options can be organized in blocks too
# here-docs are fully supported
# use of variables
var1 = hoho
msg = $var1
# use of variables var1 = hoho msg = $var1=end text