You can e.g. assign a typeglob to another:
Where and why that might come useful I cannot tell; however, it does make sense to keep a single struct, does it not?$foo = 42; @foo = ( 1, 2, 3 ); *bar = *foo; print "$bar @bar"; undef *bar; print "$bar @bar";
In reply to Re^3: Why does Perl have typeglobs?
by Anonymous Monk
in thread Why does Perl have typeglobs?
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |