Config::Any::INI(3)
π Config::Any::INI(3) β the INI loader bestie π
okay so this is the Config::Any::INI(3) manual page from the User Contributed Perl Documentation, and it's literally all about loading INI config files, no cap π
πΈ NAME πΈ
Config::Any::INI - Load INI config files
π¦ DESCRIPTION π¦
Loads INI files. Example:
name=TestApp
[Controller::Foo]
foo=bar
[Model::Baz]
qux=xyzzy
β¨ METHODS β¨
π¦ extensions( )
return an array of valid extensions β for this module that's "ini" π
π¦ load( $file )
Attempts to load $file as an INI file.
π¦ requires_all_of( )
Specifies that this module requires Config::Tiny in order to work. Like, no Config::Tiny, no party π«Ά
ποΈ 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 2006-2016 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.
π SEE ALSO π
CatalystConfig::AnyConfig::Tiny
okay bye bestie π
β footer vibes: perl v5.42.0, dated 2023-05-04, and it's still Config::Any::INI(3) energy π
π¦ where this page comes from
- opensuse-leap 16.0: perl-Config-Any 0.33-bp160.1.12 Β· Artistic-1.0 OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms