Config::General handles configuration files of a format inspired by
Apache's httpd.conf file format.  It features some enhancements such
as here-documents, C-style commends and multi-line options.  Both
reading and writing of configuration files is supported.

WWW: http://search.cpan.org/dist/Config-General/