$line =~ s/\s+//g; # But this replaces \n too, so add it back on the end $line . "\n";
In reply to Re: removing all whitespace but newlines
by ibanix
in thread removing all whitespace but newlines
by blacksmith
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |