Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
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 taking refuge in the Monastery: (12)
As of 2015-07-05 20:01 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 (67 votes), past polls