whithout any if. If there is multiple whitespace, it will be replaced, if not, nothing happens.$words =~ s/\s\s+$/ /;
In reply to Re: Replacing whitespaces with a regex
by choroba
in thread Replacing whitespaces with a regex
by Dr Manhattan
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |