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.
In reply to Re: sort @array help
by Kanji
in thread sort @array help
by symŽ
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |