You might save time dividing it up into the three lists of <499, <=599, >599 first if the list is large and the sort slow.foreach $ip ( sort { $by_ips{$a} <=> $by_ips{$b} } keys %by_ips ) { ... }
The second assignment appears to override the first...(@data) = grep(!/received from internet:/, @in); (@data) = grep(!/Error-Handler/, @data) if ( grep(/Error-Handler/, @da +ta) && +$data[1] );
In reply to Re: The need for speed
by traveler
in thread The need for speed
by l2kashe
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |