Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re^4: What is the scope of $_?

by Lotus1 (Curate)
on Nov 27, 2012 at 13:49 UTC ( #1005860=note: print w/replies, xml ) Need Help??


in reply to Re^3: What is the scope of $_?
in thread What is the scope of $_?

So when the foreach loop finishes it restores the undef value to $_. Thanks.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1005860]
help
Chatterbox?
davido just discovered less +F and wonders why tail -f is the more commonly used tool.

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (8)
As of 2017-01-17 19:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you watch meteor showers?




    Results (158 votes). Check out past polls.