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

Re: What is it I don't understand about perl scoping?

by kubrat (Scribe)
on Jul 13, 2009 at 16:47 UTC ( #779669=note: print w/ replies, xml ) Need Help??


in reply to What is it I don't understand about perl scoping?

I understand what and why Perl does what it does in this case but isn't it more natural to expect this:

variables are now: 1 1 variables are now: 1 1 variables are now: 2 2

Instead of:

variables are now: 1 1 variables are now: 1 2 variables are now: 2 2
???


Comment on Re: What is it I don't understand about perl scoping?
Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (10)
As of 2014-07-31 17:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (250 votes), past polls