Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling

Re^2: Closure Explanation

by TGI (Parson)
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

Replies are listed 'Best First'.
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?

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

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (14)
As of 2016-10-27 15:18 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (365 votes). Check out past polls.