in reply to Print a hash in order

If you need to preserve the insertion order, then you probably want Tie::IxHash

Cheers,
Darren :)