Just another Perl shrine | |
PerlMonks |
Re: an obfuscated closureby premchai21 (Curate) |
on Jun 19, 2001 at 21:42 UTC ( [id://89744]=note: print w/replies, xml ) | Need Help?? |
Closures stay in the context in which they were created. That's one of the ways in which they are useful; for instance, one can use a closure to create private variables. This is standard behavior.
In Section
Obfuscated Code
|
|