My Perl Quiz

The ultimate place to learn Perl!

Question #11: The following operator will collapse all duplicate spaces into single spaces in the string $str

$str =~ s/\s+/ /;