Unless you're looking up names symbolically, in which case you can put anything in a variable name, including control characters:
# 007 (octal) is ASCII bell perl -e '${"\00717foo"} = 1; print ${"\00717foo"}'
Though this should usually not be confused with a good idea.
----
I wanted to explore how Perl's closures can be manipulated, and ended up creating an object system by accident.
-- Schemer
: () { :|:& };:
Note: All code is untested, unless otherwise stated
In reply to Re: Re: Very quick question about names in perl
by hardburn
in thread Very quick question about names in perl
by dakedesu
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |