Subject: | Use of uninitialized value in string eq at /.../Config/IniHash.pm line 132. |
Hello. I am experiencing warning messages when using your very useful module Config::IniHash. The below perl code give me the below output using the below input file.
Best regards,
Rune Nakim
--- ./s
#!/usr/bin/perl -w
use Config::IniHash;
my $ini;
my %conf = ( case => 'lower' );
$ini = ReadINI('sniff.ini', %conf);
foreach $key (keys(%{$ini})) {
print "[$key]\n";
foreach $k (keys(%{$ini->{$key}})) {
print $k, ' = ', $ini->{$key}->{$k}, "\n";
}
}
--- sniff.ini
[ABC]
a= d
[DD]
Bbb = 11
[safd]
Cs=33
dDd=564
ffaasd=2sd
---
$ ./s
Use of uninitialized value in string eq at /usr/lib/perl5/site_perl/5.8.0/Config/IniHash.pm line 132.
Use of uninitialized value in string eq at /usr/lib/perl5/site_perl/5.8.0/Config/IniHash.pm line 132.
[abc]
a = d
[dd]
bbb = 11
[safd]
ffaasd = 2sd
cs = 33
ddd = 564
---
I am using Config::IniHash version 2.3.
---
$ perl -v
This is perl, v5.8.0 built for i386-linux-thread-multi
(with 1 registered patch, see perl -V for more detail)
$ uname -a
Linux localhost.localdomain 2.4.20-8 #1 Thu Mar 13 17:54:28 EST 2003 i686 i686 i386 GNU/Linux