in reply to sort @array help

If the octets in your array of IPs are all zero padded, is there really any need to bring a sorting block or sub into the picture?

@sorted_array = sort @ip_addresses; should work just fine.

    --k.