Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
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 romping around the Monastery: (3)
As of 2014-10-01 22:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    What is your favourite meta-syntactic variable name?














    Results (40 votes), past polls