Rechercher une page de manuel
Config::Any::INI.3pm
Langue: en
Version: 2008-01-28 (mandriva - 01/05/08)
Section: 3 (Bibliothèques de fonctions)
NAME
Config::Any::INI - Load INI config filesDESCRIPTION
Loads INI files. Example:name=TestApp [Controller::Foo] foo=bar [Model::Baz] qux=xyzzy
METHODS
extensions( )
return an array of valid extensions ("ini").
load( $file )
load( $file )
Attempts to load $file as an INI file.
is_supported( )
Returns true if Config::Tiny is available.
PACKAGE VARIABLES
- $MAP_SECTION_SPACE_TO_NESTED_KEY (boolean)
- 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;
AUTHORS
Brian Cassidy <bricas@cpan.org>Joel Bernstein <rataxis@cpan.org>
COPYRIGHT AND LICENSE
Copyright 2007 by Brian Cassidy, portions copyright 2006, 2007 by Joel BernsteinThis library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
SEE ALSO
- •
- Catalyst
- •
- Config::Any
- •
- Config::Tiny
Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre