in reply to Re: uninitialized $_ sneaks past warnings in grep/map block or expression
in thread uninitialized $_ sneaks past warnings in grep/map block or expression
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 $_.
|
---|