in reply to To Extend, to Use, to Create
;;config var1=foo var2=bar
readconfig.pl:
use Config::Tiny; my $conf = Config::Tiny->read('test.ini'); require Data::Dumper; print Data::Dumper::Dumper($conf);
dump:
$VAR1 = bless( { '_' => { 'var1' => 'foo', 'var2' => 'bar' } }, 'Config::Tiny' );
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: To Extend, to Use, to Create
by Bod (Parson) on Dec 07, 2020 at 20:59 UTC |