Welcome to the Monastery | |
PerlMonks |
BUG in warnings uninitialized for derefed hashes?by LanX (Saint) |
on Oct 21, 2015 at 21:30 UTC ( [id://1145594]=perlquestion: print w/replies, xml ) | Need Help?? |
LanX has asked for the wisdom of the Perl Monks concerning the following question:
Today I head to localize an "uninitialized value" warning in a fairly big here doc with many interpolated variables. Surprisingly Perl didn't tell me which variable was causing the trouble. A closer investigation revealed that accessing hash entries via a dereference omitted the details. Here a test in 5.22
is it a bug or is there a reason why Perl can't localize $x? FWIW I tested 5.8.9 and back then no hints at all where given:
Cheers Rolf
Back to
Seekers of Perl Wisdom
|
|