Think about Loose Coupling | |
PerlMonks |
Re: Conditional initialisationby broquaint (Abbot) |
on May 20, 2004 at 02:35 UTC ( [id://354829]=note: print w/replies, xml ) | Need Help?? |
This behaviour is somewhat of a bug, in that it's unexpected behaviour, but it's not going away anytime soon. It is caused by perl not clearing it's lexical pads on exit, for efficiency reasons. See. the classic Unusual Closure Behaviour for an exhausitive discussion on the subject.
HTH
_________
In Section
Seekers of Perl Wisdom
|
|