in reply to Hash key ordering?

If you need to keep/maintain the order of the keys you can give a look at Tie::IxHash http://search.cpan.org/search?mode=module&query=Tie%3A%3AIxHash "This Perl module implements Perl hashes that preserve the order in which the hash elements were added."