On Mar 3, John W. Krahn ([EMAIL PROTECTED]) typed: John: > But what I want to do now is reverse sort column 1 then sort the John: > hostnames/IPs in column 2. I have the correct Solaris 9 command. John: John: sub SortByIPoccurance { $IPaddr{ $b } <=> $IPaddr{ $a } || $a cmp $b }
Great! That works for me. Thanks Birl Please do not CC me responses to my own posts. I'll read the responses on the list. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>