"That's all there is to a closure: a subroutine that preserves any lexical variables it's using, even after they become invisible everywhere else." OO-Perl pg.57
Closures are only interesting (for some definition of interesting) when the lexical is invisible.
In reply to Re: Definition of a Closure
by htoug
in thread Sub Definitions Within Subs: Best Way to Exploit
by crazysniffable
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |