> Using tied hashes, you could conceivably make your own ordered hash class
> and use that as the data structure you return. You'd still basically have
> two data structures (for performance) but the fact that it is two data
> structures would be hidden behind the tied hash which would be programmed
> to iterate the keys using the array rather than the keys function on the
> hash part.
>
> I think there is source code for this publicly available, but I forget
> where I saw it. You can get some docs from perldoc perltie though.


Tie::IxHash

--
Eric


Reply via email to