| Apache2::WebApp::AppConfig - AppConfig extension for parsing config files |
Apache2::WebApp::AppConfig - AppConfig extension for parsing config files
$c->config->parse('/path/to/file.cfg');
print $c->config->{$key};
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'
the Apache2::WebApp manpage, AppConfig
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.
See http://www.perl.com/perl/misc/Artistic.html
| Apache2::WebApp::AppConfig - AppConfig extension for parsing config files |