in reply to How to keep the order of keys in hash
I don't think that Data::Dumper is going to show you want you want since it's the internal implementation of the hash's accessors via the Tie::Hash interface that actually provide the ordering you need.
If you need to maintain some sorted order not related to insert order, then you might need to look as some sort of Perl based heap implementation like, Heap::Simple.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: How to keep the order of keys in hash
by thanos1983 (Parson) on Jul 09, 2014 at 19:46 UTC |