I'll expand on that a bit...
The syntax for dereferencing a hash reference is identical whether the reference is a symbolic reference (a string that names a global variable) or a real reference ("hard reference"). So if -> works on real references to hashes, then it also works on symbolic references to hashes (that is, on strings).
You avoid using symbolic references by saying use strict. You don't avoid using symbolic references by avoiding certain types of dereferencing syntax.
- tye (but my friends call me "Tye")In reply to (tye)Re: self-referent hash for your packages
by tye
in thread self-referent hash for your packages
by princepawn
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |