Thomas von Dein 5dabbe586a 1.29:
- added 2 procedural functions ParseConf and SaveConf
	 - added new parameters -AutoTrue and -FlagBits
	 - added save_file() which replaces save(), which was
	   weird implemented. If the user only supplied a hash
           as parameter to save(), then the first key was
	   used as the filename and the rest was used
	   as a config hash (which was then of an uneven size).
	 - save_file() takes now instead of a hash a hash-ref
	   and a filename. And the hashref is optional, since
	   the object already contains a complete hash.
	 - new method save_string() added, which returns the
	   ready generated string instead of writing it to
	   disk. The user can then save it himself.
	 - POD updated.


git-svn-id: http://dev.catalyst.perl.org/repos/Config-General/trunk@17 be1acefe-a474-0410-9a34-9b3221f2030f
2009-10-10 16:14:41 +00:00
2009-10-10 16:14:18 +00:00
2009-10-10 16:14:41 +00:00
2009-10-10 16:14:41 +00:00
2009-10-10 16:07:21 +00:00
2009-10-10 16:14:41 +00:00
2009-10-10 16:14:41 +00:00

NAME
       Config::General - Generic Config Module

SYNOPSIS
        use Config::General;
        $conf = new Config::General("rcfile");
        my %config = $conf->getall;


DESCRIPTION
       This small module opens a config file and parses it's
       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 it's 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% compatible to apache configs, 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

	see some example config files which can
	be parsed with Config::Genreal in the subdirectory
	t/cfg.*


COPYRIGHT
       Copyright (c) 2000-2002 Thomas Linden

       This library is free software; you can redistribute it
       and/or modify it under the same terms as Perl itself.


BUGS
       none known yet.


AUTHOR
       Thomas Linden <tom@daemon.de>


VERSION
	1.29
Description
No description provided
Readme 322 KiB
Languages
Perl 96.9%
Shell 1.9%
Roff 1.1%