Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Answer: What is the difference between 'local' and 'my'?

( #5226=categorized answer: print w/ replies, xml ) Need Help??

Q&A > subroutines > What is the difference between 'local' and 'my'? contributed by Dominus

There's a detailed discussion of this question and some related matters in the article Coping with Scoping, which appeared in the Perl Journal a while back.

Comment on Answer: What is the difference between 'local' and 'my'?
Log In?
Username:
Password:

What's my password?
Create A New User
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (3)
As of 2015-07-04 04:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (57 votes), past polls