Question #11: The following operator will collapse all duplicate spaces into single spaces in the string $str 55% on 538 times asked
$str =~ s/\s+/ /;