|
|
| more useful options | |
| PerlMonks |
Undefining symbol tables and globs and things, oh myby friedo (Prior) |
| on Aug 10, 2005 at 07:05 UTC ( #482531=perlquestion: print w/ replies, xml ) | Need Help?? |
|
friedo has asked for the
wisdom of the Perl Monks concerning the following question:
Submitted for your perusal:
And the output:
So, what's going on here? How does perl know how to find $Yakkity::Yak::a after the package's symbol table is gone? Shouldn't *Yakkity::Yak::a have been deleted with it? Or does another reference to it exist outside the symbol table? If so, where? Suppose I were creating dynamic packages at runtime and I want to make sure all the stuff in them gets destroyed. How would I ensure that?
Back to
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||||||||||