Your skill will accomplish what the force of many cannot |
|
PerlMonks |
Re^2: uninitialized $_ sneaks past warnings in grep/map block or expressionby ikegami (Patriarch) |
on Sep 01, 2010 at 14:05 UTC ( [id://858343]=note: print w/replies, xml ) | Need Help?? |
That explains the first, but undef isn't being copied in the map and grep statements. The OP doesn't know that map and grep set $_.
In Section
Seekers of Perl Wisdom
|
|