Compare PadWalker
A closure is a sub plus the variables in the enclosing "hull" at point of definition.
Another good reference is Higher Order Perl
Cheers Rolf
(addicted to the Perl Programming Language :)
see Wikisyntax for the Monastery
In reply to Re: Closures and scope of lexicals
by LanX
in thread Closures and scope of lexicals
by haj
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |