in reply to Definition of a Closure
in thread Sub Definitions Within Subs: Best Way to Exploit
"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.
|
|---|