Config::Any::INI - Load INI config files
Loads INI files. Example:
name=TestApp [Controller::Foo] foo=bar [Model::Baz] qux=xyzzy
return an array of valid extensions (ini).
ini
Attempts to load $file as an INI file.
$file
Specifies that this module requires Config::Tiny in order to work.
This variable controls whether spaces in INI section headings will be expanded into nested hash keys. e.g. it controls whether [Full Power] maps to $config->{'Full Power'} or $config->{'Full'}->{'Power'}
By default it is set to 1 (i.e. true).
Set it to 0 to preserve literal spaces in section headings:
use Config::Any; use Config::Any::INI; $Config::Any::INI::MAP_SECTION_SPACE_TO_NESTED_KEY = 0;
Brian Cassidy <bricas@cpan.org>
Joel Bernstein <rataxis@cpan.org>
Copyright 2006-2011 by Brian Cassidy, portions copyright 2006, 2007 by Joel Bernstein
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
Catalyst
Config::Any
Config::Tiny
To install Config::Any, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Config::Any
CPAN shell
perl -MCPAN -e shell install Config::Any
For more information on module installation, please visit the detailed CPAN module installation guide.