|Just another Perl shrine|
Real life uses for closures.by BrowserUk (Pope)
|on Feb 12, 2013 at 02:38 UTC||Need Help??|
BrowserUk has asked for the
wisdom of the Perl Monks concerning the following question:
Besides simple C-style 'static' storage (which can now be done more easily with state variables); currying and delegates (are they essentially the same thing?); what uses do people put closures to?
I'm looking for real world examples (in Perl or other languages), rather than contrived text book examples.
With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.