Perl's symbol table is just a hashIndeed. A hash of hashes, in a way:
use warnings; use strict; sub T { 42 } our $T = 24; *T = *STDOUT{IO}; print { *T{IO} } ${*T{SCALAR}}, ' ', *T{CODE}->(), "\n";
In reply to Re^3: Why does Perl have typeglobs?
by choroba
in thread Why does Perl have typeglobs?
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |