Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
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 exploiting the Monastery: (9)
As of 2014-08-28 06:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (257 votes), past polls