Matt Bazan wrote:
>
> Peter Guzis wrote:
>
> > Benchmark: timing 1 iterations of use_grep_block,
> > use_map_split, use_regex, use_rindex, use_split...
> > use_grep_block: 8 wallclock secs ( 7.96 usr + 0.00 sys = 7.96 CPU) @ 1256.12/s
> > (n=1)
> > use_map_split: 10 wallclock secs ( 9
$value=$2*1.0;
if ( ($value <=10 ) || ( $value >=200 ) {
do_something();
}
On Mon, 22 Mar 2004, Matt Bazan wrote:
> Date: Mon, 22 Mar 2004 15:02:12 -0800
> From: Matt Bazan <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> Subject: Need help pruning data..
>
&g
That settles it, I'm going with rindex. Thanks for the suggestions.
Matt
> -Original Message-
> From: Peter Guzis [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, March 23, 2004 8:48 AM
> To: Rob Dixon; Matt Bazan; [EMAIL PROTECTED]
> Subject: RE: Need help pruning da
: Need help pruning data..
Matt Bazan wrote:
>
> I've got an array that contains several dozen IP addresses
> (along with a bunch of garbage output from running the NMAP command). I
> want to find the fastest, cleanest way to remove all IP address who's
> last octet