GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  CONFIG::ANY::INI (3)

.ds Aq ’

NAME

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

CONTENTS

DESCRIPTION

Loads INI files. Example:



    name=TestApp
   
    [Controller::Foo]
    foo=bar
   
    [Model::Baz]
    qux=xyzzy



METHODS

    extensions( )

return an array of valid extensions (ini).

load( CW$file )

Attempts to load $file as an INI file.

    requires_all_of( )

Specifies that this module requires Config::Tiny in order to work.

PACKAGE VARIABLES

$MAP_SECTION 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 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

o Catalyst
o Config::Any
o Config::Tiny
Search for    or go to Top of page |  Section 3 |  Main Index


perl v5.20.3 CONFIG::ANY::INI (3) 2016-03-31

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.