http://www.perlmonks.org?node_id=75836


in reply to Re (tilly) 2: Why Closures?
in thread Why Closures?

I was under the impression that it was quite easy to write a function in Perl which expects some of its arguments to be functions, and then generates a new function to return.

Yes, you can build closures which hold other closures. Every once in a while I run into some bizarre situation where that is really, really useful.

Closures of closures can also be wickedly hard to debug.