NAME Config::General - Generic Config Module SYNOPSIS use Config::General; $conf = new Config::General(-ConfigFile => "myconfig.rc"); my %config = $conf->getall; DESCRIPTION This module opens a config file and parses it's contents for you. After parsing the module returns a hash structure which contains the representation of the 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. 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.* COPYRIGHT Config::General Config::General::Extended Copyright (c) 2000-2002 Thomas Linden Config::General::Interpolated Copyright (c) 2001 Wei-Hon Chen This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself. BUGS make test does currently not catch all possible scenarios. AUTHOR Thomas Linden VERSION 2.01