Perl: the Markov chain saw | |
PerlMonks |
Re^2: if(my) scopeby Anonymous Monk |
on Apr 16, 2009 at 10:54 UTC ( [id://757934]=note: print w/replies, xml ) | Need Help?? |
That wasn't the question. The question was why DESTROY is called after the outer { } ? after the if() block $h is no longer reachable, so why still holds a reference to the blessed instance?
In Section
Seekers of Perl Wisdom
|
|