1Config::Any::INI(3)   User Contributed Perl Documentation  Config::Any::INI(3)
2
3
4

NAME

6       Config::Any::INI - Load INI config files
7

DESCRIPTION

9       Loads INI files. Example:
10
11           name=TestApp
12
13           [Controller::Foo]
14           foo=bar
15
16           [Model::Baz]
17           qux=xyzzy
18

METHODS

20       extensions( )
21
22       return an array of valid extensions ("ini").
23
24       load( $file )
25
26       Attempts to load $file as an INI file.
27

PACKAGE VARIABLES

29       $MAP_SECTION_SPACE_TO_NESTED_KEY (boolean)
30           This variable controls whether spaces in INI section headings will
31           be expanded into nested hash keys.  e.g. it controls whether [Full
32           Power] maps to $config->{'Full Power'} or $con‐
33           fig->{'Full'}->{'Power'}
34
35           By default it is set to 1 (i.e. true).
36
37           Set it to 0 to preserve literal spaces in section headings:
38
39               use Config::Any;
40               use Config::Any::INI;
41               $Config::Any::INI::MAP_SECTION_SPACE_TO_NESTED_KEY = 0;
42

AUTHOR

44       * Brian Cassidy <bricas@cpan.org>
45       * Joel Bernstein <rataxis@cpan.org>
46
48       Copyright 2006 by Brian Cassidy, portions copyright 2006, 2007 by Joel
49       Bernstein
50
51       This library is free software; you can redistribute it and/or modify it
52       under the same terms as Perl itself.
53

SEE ALSO

55       * Catalyst
56       * Config::Any
57       * Config::Tiny
58
59
60
61perl v5.8.8                       2007-08-23               Config::Any::INI(3)
Impressum