Subject: | uninitialized value warning with Readonly.pm |
Date: | Thu, 16 Jan 2014 11:24:40 +1100 |
To: | bug-Module-Mask-Deps [...] rt.cpan.org |
From: | Kevin Ryde <user42 [...] zip.com.au> |
With recent debian i386 perl 5.18.1 and Readonly 1.04 and Readonly::XS
1.05, the program foo.pl below with META.yml below run
perl foo.pl
gives a warning
Use of uninitialized value within %INC in list assignment at /usr/share/perl5/Module/Mask/Deps.pm line 222.
The offending line is
my %inc_lookup = reverse %INC;
It seems that %INC has an entry
Readonly::XS => undef
which on reversing becomes a key "undef". Dunno whether such an entry
is normal but maybe Module::Mask::Deps could avoid a warning for it.
Message body is not shown because sender requested not to inline it.
Message body is not shown because sender requested not to inline it.