
Apache2::WebApp::AppConfig - AppConfig extension for parsing config files

$c->config->parse('/path/to/file.cfg');
print $c->config->{$key}, "\n"; # key = value format

A module for accessing application configuration settings.

Return the configuration name/value pairs as a reference to a hash.
$c->config->parse($config);

# this is a comment foo = bar # bar is the value of 'foo' url = index.html#hello # 'hello' is treated as a comment
[block1] foo = bar # bar is the value of 'block1_foo' [block2] foo = baz # baz is the value of 'block2_foo'


Marc S. Brooks, <mbrooks@cpan.org> - http://mbrooks.info

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