in reply to
Re: My questions: new to perl
in thread
My questions: new to perl
Hashes can't be sorted. Their keys or values can be sorted.
Tie::IxHash
- ordered associative arrays for Perl
Tie::InsertOrderHash
- insert-order-preserving tied hash
Tie::Hash::Sorted
- Presents hashes in sorted order
Comment on
Re^2: My questions: new to perl
Replies are listed 'Best First'.
Re^3: My questions: new to perl
by
ikegami
(Patriarch)
on Mar 13, 2011 at 06:54 UTC
Ah yes. I didn't think of those because they aren't technically hashes. They do take on the same interface as a hash, so thanks for the correction.
[reply]
In Section
Seekers of Perl Wisdom