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

Re^3: Scalar Value Not Available To Subroutine

by ikegami (Pope)
on Dec 21, 2012 at 05:38 UTC ( #1009864=note: print w/ replies, xml ) Need Help??


in reply to Re^2: Scalar Value Not Available To Subroutine
in thread Scalar Value Not Available To Subroutine

So loop "localisation" is different to the "localisation" done by local?

No, the difference you are seeing is because subs capture lexical vars but not package vars.


Comment on Re^3: Scalar Value Not Available To Subroutine
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (4)
As of 2015-02-27 06:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    On my keyboard, Caps lock is:








    Results (441 votes), past polls