in reply to Re: Replacing multiple spaces into one character?in thread Replacing multiple spaces into one character?
$str =~ s/ +/_/g; [download]