Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: Config::IniFiles

by 1nickt (Canon)
on Jun 24, 2015 at 01:41 UTC ( #1131758=note: print w/replies, xml ) Need Help??


in reply to Config::IniFiles

Config::Tiny is what I use for ini-style config files. It allows you to access the items close to how shagbark suggested:

use Config::Tiny; my $ini = Config::Tiny->read( 'config.ini', 'utf8' ); my $foo = $ini->{bar}->{foo}; $foo = 'baz'; $ini->{bar}->{foo} = $foo; $ini->write( 'config.ini', 'utf8' );

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1131758]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (2)
As of 2023-06-02 17:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?