Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re^2: Closure Explanation

by TGI (Vicar)
on Apr 30, 2010 at 19:06 UTC ( #837837=note: print w/ replies, xml ) Need Help??


in reply to Re: Closure Explanation
in thread Closure Explanation

No, a callback need not be closed over any variables. A closure may be called by any means a normal function is.


TGI says moo


Comment on Re^2: Closure Explanation
Re^3: Closure Explanation
by Anonymous Monk on Apr 30, 2010 at 19:33 UTC
    Do you have a sample code showing the difference between the two?

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (9)
As of 2015-07-02 04:32 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 (27 votes), past polls