Your skill will accomplish what the force of many cannot |
|
PerlMonks |
Re^3: Inconsistency of 'Use of uninitialized value in scalar assignment' warningby dave_the_m (Monsignor) |
on Dec 26, 2013 at 18:54 UTC ( [id://1068449]=note: print w/replies, xml ) | Need Help?? |
I think people are still thinking that the second undef warning
is due the hash *value* not existing; its not. Both warnings are being generated by trying to evaluate the *key*. In the first foo() call in the OP, the key isn't undef, so it doesn't generate any warnings.
Dave.
In Section
Seekers of Perl Wisdom
|
|