In point of fact constructors for interesting anonymous functions almost inevitably are closures. For instance the example I mentioned of something which I would have written this way had I been writing it (Pod::Parser) is one where the optional hooks would be anonymous subs that were in lexical scope. Therefore the final thing constructed is a closure by anyone's use of the language. :-)
In reply to RE (tilly) 6: Fly Subroutines on the Fly
by tilly
in thread Fly Subroutines on the Fly
by Adam
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |