in reply to Re: Sorting a hash of IP addresses?
in thread Sorting a hash of IP addresses?

my %ipsort; use Tie::IxHash; tie %ipsort, "Tie::IxHash";

This will give you a hash sorted by insertion order.