in reply to reference as key to hash
To present the interface of a hash while not actually being a hash requires a feature called "magic". tie is a specific form of this magic, but not the only one. For example, %ENV is magical, but isn't tied.
It's possible to overload hash dereference, but I don't see how that would help here even if you were using a hash reference and not a hash.
So what's the real question?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: reference as key to hash
by shmem (Chancellor) on Apr 25, 2009 at 15:34 UTC |