my @new = grep {$_ == $first .. $_ == $last} @old [download]
Abigail
In reply to Re: Extracting numbers from arrays by Abigail-II in thread Extracting numbers from arrays by Anonymous Monk