Closure-subs have a lot in common with object-methods and the closure-vars act like instance variables.
Again, please have a look at the HOP book, you won't regret it.
Cheers Rolf
(addicted to the Perl Programming Language :)
see Wikisyntax for the Monastery
In reply to Re^3: Closures and scope of lexicals
by LanX
in thread Closures and scope of lexicals
by haj
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |