Skip Menu |

This queue is for tickets about the Config-IniFiles CPAN distribution.

Report information
The Basics
Id: 80259
Status: resolved
Priority: 0/
Queue: Config-IniFiles

Owner: Nobody in particular
Requestors: felix.ostmann [...]

Bug Information
Severity: Normal
Broken in: 2.77
Fixed in: (no value)

Subject: call to new without a file produce warning
Download (untitled) / with headers
text/plain 269b
$ perl -MConfig::IniFiles -e 'my $root_cfg = Config::IniFiles->new();' Use of uninitialized value in length at /path/to/module/Config/ line 828. I use this to chain configurationfiles: $root_cfg = Config::IniFiles->new(-file => ..., -import => $root_cfg);
From: felix.ostmann [...]
Download (untitled) / with headers
text/plain 207b
Perhaps there are siteeffects ... using perl 5.10.1 produce this warning, using 5.14.2 dont show this warning. i fixed it with changing row 828 to return not defined($self->{cf} or not length($self->{cf};
Download (untitled) / with headers
text/plain 432b
Hi Felix, somewhat reluctantly, I made the check for length more robust, so it should work fine on perl-5.10.x. Note however that perl-5.10.x has been end-of-lifed (as well as perl-5.12.x) and should not be used and you should upgrade. Please don't report issues you encounter with it on because it's just noise. See: Regards, -- Shlomi Fish

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to