Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re^2: uninitialized $_ sneaks past warnings in grep/map block or expression

by ikegami (Patriarch)
on Sep 01, 2010 at 14:05 UTC ( [id://858343]=note: print w/replies, xml ) Need Help??


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 $_.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://858343]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others having an uproarious good time at the Monastery: (4)
As of 2024-04-19 22:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found