0..9 aren't valid identifiers, so you can't use them as glob names just like that (and you really shouldn't).They are valid identifiers (e.g. $^O = ~ /(.*)/; print "os: $1\n";), just special ones. As perlvar says:
Perl identifiers that begin with digits, control characters, or punctuation characters are exempt from the effects of the package declaration and are always forced to be in package main
In reply to Re^2: Calling locally manufactured (typeglob) methods
by ysth
in thread Calling locally manufactured (typeglob) methods
by agianni
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |