http://qs1969.pair.com?node_id=1131758


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' );