orthanc has asked for the wisdom of the Perl Monks concerning the following question:
Hi All,
I've been working a lot with hashes recently and as you all know you can't get stuff out in insertion order unless you use Tie::IxHash.
I know you will all probably say you should use arrays if you want a certain order, but what if you want the hash functionality?
The main point of this question being if perl uses its own indexing method to store the hash internally, why not just have it tied internally? Does it make a difference?
Any suggestions?
Orthanc
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Hash Internals
by japhy (Canon) on Oct 19, 2000 at 16:13 UTC | |
by d_i_r_t_y (Monk) on Oct 23, 2000 at 02:22 UTC | |
by japhy (Canon) on Oct 23, 2000 at 02:31 UTC | |
by d_i_r_t_y (Monk) on Oct 24, 2000 at 07:53 UTC | |
by japhy (Canon) on Oct 24, 2000 at 16:06 UTC | |
| |
Re: Hash Internals
by orthanc (Monk) on Oct 19, 2000 at 16:30 UTC | |
by japhy (Canon) on Oct 19, 2000 at 16:36 UTC |