my @temp_exists = grep /$temp, $temp1/, @temp_array; [download]
In reply to Two dimensional array by Anonymous Monk