On Mon, 13 Nov 2006 14:38:25 +0100 "Roman Daszczyszak" <[EMAIL PROTECTED]> wrote: > Is there a Perl module that does proper IP sorting? I think you could use NetAddr::IP for that job. Or something simpler like that:
use Socket; @sorted = map { inet_ntoa($_) } sort map { inet_aton($_) } @unsorted; Greetings Sebastian -- VI VI VI - The editor of the beast. - perlhacker.org -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>