Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
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 studying the Monastery: (7)
As of 2014-09-21 20:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (176 votes), past polls