
Bot::Infobot::Config - parse Bot::Infobot config files

use Bot::Infobot::Config qw(parse_config);
my %config = parse_config('infobot.conf');

Returns a hash of config values.
Sub parts are in sub hashes. For example
foo = bar;
[ Sub ]
quirka = fleeg
would be converted to
(
'foo' => 'bar',
'sub' => {
'quirka' => 'fleeg',
}
)
Save the config back out again.

Simon Wistow <simon@thegestalt.org>

Copyright 2005, Simon Wistow
Distributed under the same terms as Perl itself.