Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: What is the scope of $_?

by Anonymous Monk
on Nov 26, 2012 at 15:09 UTC ( #1005686=note: print w/replies, xml ) Need Help??


in reply to What is the scope of $_?

$_ is global, but globals can be localised and aliased

See perldoc -v $_, Tutorials: Variable Scoping in Perl: the basics, Coping with Scoping, Lexical scoping like a fox

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1005686]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (6)
As of 2016-12-06 03:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    On a regular basis, I'm most likely to spy upon:













    Results (98 votes). Check out past polls.