Coder's Guild Mailing List

Sorting Hashes in Perl

Posted by Frank Hale on 1999-03-13

I have a hash that I insert data in based on a index. The index is just
a number incremented by 1 each time a new element is added. Does anyone
know how to sort a hash based on an index? Besides using the Tie::IxHash
module? 

Reason is that my webhost doesn't have the Tie::IxHash module loaded on
there servers. Anyway it works great with that module, I but can't use
it.

-- 
From:      Frank Hale
Email:     frankhale@xxxxxxxx.xxx.xxx   
ICQ:       7205161          
Website:   http://www.franksstuff.com

"Hello, my name is Frank and I use Linux.... Hi Frank welcome to Linux
Anonymous"