The builtin ref does this just fine for unblessed references. And unless you're going to be impolite and break encapsulation you may not want to go mucking about with other class' internals.
In reply to Re: Re: What type are you? Mr Hash, Sir Array, or Miss Scalar?
by Fletch
in thread What type are you? Mr Hash, Sir Array, or Miss Scalar?
by Doraemon
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |