good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
Re^2: Closure Explanationby TGI (Parson) |
on Apr 30, 2010 at 19:06 UTC ( [id://837837]=note: print w/replies, xml ) | Need Help?? |
No, a callback need not be closed over any variables. A closure may be called by any means a normal function is.
In Section
Seekers of Perl Wisdom
|
|