Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: What is the scope of $_?

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


in reply to What is the scope of $_?

Dunno ... that's why I don't use it. All of these statements allow you to define your own my variable which will capture the necessary cursor-position within the body of the loop, thereby eliding the problem completely. There must be a reason for that...


Comment on Re: What is the scope of $_?

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (11)
As of 2014-11-24 23:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My preferred Perl binaries come from:














    Results (147 votes), past polls