in reply to using grep to extract numbers from an array
my @new_array = grep {$_ >= $first_val and $_ <= $second_val} @old_arr +ay; [download]
Does this have the same floating point issue?