in reply to Undefining symbol tables and globs and things, oh my
How does perl know how to find $Yakkity::Yak::a after the package's symbol table is gone?%Yakkity::Yak:: isn't exactly the symbol table. perldata says
Perl uses an internal type called a typeglob to hold an entire symbol table entry. The type prefix of a typeglob is a *, because it represents all types.You should look into the Symbol module (Symbol::delete_package) and super search around here for discussions about the symbol table, as they're very informative
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Undefining symbol tables and globs and things, oh my
by ikegami (Patriarch) on Aug 10, 2005 at 13:49 UTC | |
by PodMaster (Abbot) on Aug 10, 2005 at 17:25 UTC |