CoVAX has asked for the wisdom of the Perl Monks concerning the following question:
Which Perl module is recommended for maintaining insertion order with a hash?
The application I'm working on requires about 800-to-1,200 records (as hashes themselves) acquired from disparate sources to be stored in a hash (for fast searching by key) in a certain order (e.g., chronological or sequential).
I'm developing with ActivePerl 5.18.4 built for MSWin32-x86-multi-thread-64int although the code will also be running on CentOS 6 (64-bit) also.
I've already looked in Perl's /lib and /site/lib for a standard ("comes with" Perl) module (no joy; /site/lib is empty and /lib had Hash::Util, which does not offer what I need).
I also searched CPAN, but there were so many to choose from I thought it better to ask here for guidance.
I thank you for your time.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Which module for maintaining hash insertion order?
by choroba (Cardinal) on Feb 16, 2015 at 17:39 UTC | |
by CoVAX (Beadle) on Feb 16, 2015 at 18:56 UTC |