in reply to Blank lines in ini file and Config::Simple
And the data:#!/usr/bin/perl -w use Config::Simple; my $cfg = new Config::Simple( "testini.dat" ); die "Config file failure" if not defined $cfg; %config = $cfg->vars(); my $bar = $cfg->param("FOO.Bar"); my $baz = $cfg->param("FOO.Baz"); print "<$bar>, <$baz>\n";
$bar is printed correctly, but $baz shows up as ARRAY(..).[FOO] Bar=hello Baz= Boo=
--traveler
|
|---|