my @found = grep {-1 != index $content, $_} @array;