in reply to Re: Accessing a hash of hashes in order ...
in thread Accessing a hash of hashes in order ...
I could have sworn there was already a module to do this, but I could be mistaken.Maybe you were thinking of Tie::IxHash to receive the keys in the order the elements were inserted into the hash. From the Cookbook (recipe 5.6):
use Tie::IxHash; tie %HASH, "Tie::IxHash"; # manipulate %HASH @keys = keys %HASH; # @keys is in insertion order
-- Hofmator
|
|---|