Have a look at Tie::IxHash.
Hope this helps, -gjb-
In reply to Re: Hashes made to order by gjb in thread Hashes made to order by John M. Dlugosz