in reply to Sorting Hash Value Object's IPv4 Address
Alshough the compare routine is not particularly efficient.sort { ip_sort() } keys %hash sort ip_sort(keys %hash) sort(ip_sortkeys %hash) sort(ip_sort (keys %hash))
You may want to consider converting the IP to binary, and/or using the schwartzian transform.
"I can cast out either one of your demons, but not both of them." -- the XORcist
|
|---|