in reply to
Permanently sort a hash
Don't forget
Tie::IxHash
and what L~R says below.
-Paul
Comment on
Re: Permanently sort a hash
Replies are listed 'Best First'.
Re^2: Permanently sort a hash
by
Limbic~Region
(Chancellor)
on Jun 04, 2009 at 15:07 UTC
jettero
,
Yes, but while that module provides rudimentary sorting capability - it is primarily designed to preserve insertion order. I wrote
Tie::Hash::Sorted
for far more complex sorting needs as well as a number of optimizations under the covers.
Cheers -
L~R
[reply]
In Section
Seekers of Perl Wisdom