Typeglobs are actually difficult to handle because they introduce more magic than normal references.
Most Perl users probably never need them , since with lexical variables - i.e. declared with my - they are useless.
Typeglobs are helpful to manipulate the symbol table, but this is already "meta" stuff.
I think you just need to read perlref for how to handle references of lexicals.
Please don't apply Perl4 documentation to Perl5, Perl4 didn't have lexicals, that's why typeglobs were used there for referencing / dereferencing of globals and "aliasing".
Cheers Rolf
(addicted to the Perl Programming Language and ☆☆☆☆ :)
Je suis Charlie!
In reply to Re: Dereferencing a reference to a typeglob?
by LanX
in thread Dereferencing a reference to a typeglob?
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |