my $foo = " 12345 \t\n\t abcde"; $foo = join " ", split( " ", $foo); print $foo, $/;
That's known as magical split.
After Compline,
Zaxo
In reply to Re: Removing whitespaces,tab,line breaks, etc?
by Zaxo
in thread Removing whitespaces,tab,line breaks, etc?
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |