in reply to Re: HASH keys preserve class ?
in thread HASH keys preserve class ?
ikegami,
To be pedantic about it, hashkey values can only be scalars. A reference happens to be a scalar so a hash value can get to anything you can reference. Since you can reference just about anything under the sun, you can can get to just about anything.
To be pedantic about it, hash
To be less pedantic, I thought I heard someone say there was an XS way to make hash keys non-string but I know nothing about it beyond a vague recollection.
Cheers - L~R
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: HASH keys preserve class ?
by ikegami (Patriarch) on Oct 04, 2006 at 15:26 UTC | |
by Limbic~Region (Chancellor) on Oct 04, 2006 at 15:38 UTC | |
by BrowserUk (Patriarch) on Oct 04, 2006 at 16:19 UTC |
In Section
Seekers of Perl Wisdom