Looking at the code here:
http://search.cpan.org/src/KIRSLE/Config-INI-Simple-0.02/lib/Config/INI/Simple.pm
...it appears you have a line that doesn't contain a "=" but the
module is trying to parse it as key=value. The relevant snippet:
67 my ($what,$is) = split(/=/, $line, 2);
68 $what =~ s/^\s*//g;
69 $what =~ s/\s*$//g;
70 $is =~ s/^\s*//g;
71 $is =~ s/\s*$//g;
72
73 $data->{$block}->{$what} = $is;
So, I think there's a bug in your ini file. Arguably, there's also a
bug in the module, because it could have caught this condition and not
created a config key with undef value (as it does in line 73). But
this is a ::Simple module, which suggests both the code and the
interface are kept simple.
On Thu, Jan 8, 2009 at 4:20 PM, Chanan Berler <[email protected]> wrote:
> Hi All,
>
> I tried running script, and got this warning message:
>
> Use of uninitialized value in substitution (s///) at
> /usr/lib/perl5/site_perl/5.8.8/Config/INI/Simple.pm line 70.
>
> I used Config::INI::Simple module.
> Is this a known issue, or is it mine? How can I know that? Tried google
> it.no luck
> Thanks
> Chanan
>
> _______________________________________________
> Perl mailing list
> [email protected]
> http://perl.org.il/mailman/listinfo/perl
>
--
Gaal Yahas <[email protected]>
http://gaal.livejournal.com/
_______________________________________________
Perl mailing list
[email protected]
http://perl.org.il/mailman/listinfo/perl