in reply to Re: What type are you? Mr Hash, Sir Array, or Miss Scalar?
in thread What type are you? Mr Hash, Sir Array, or Miss Scalar?
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.
|
|---|