Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: Using an "outer" lexical in a sub?

by cmeyer (Pilgrim)
on Nov 01, 2006 at 20:04 UTC ( [id://581744]=note: print w/replies, xml ) Need Help??


in reply to Using an "outer" lexical in a sub?

You are learning about closures. :)

Have a good read at perlsub, and pay close attention to all the talk about lexical scoping.

-Colin.

WHITEPAGES.COM | INC

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (6)
As of 2024-04-16 09:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found