use encoding 'UTF-8'; $string = "this\tis a\ncool\ftest\r"; $string =~ s/(\s)/$spaces{$1}/g; print $string;
In reply to Re^3: Perl module to show whitespaces?
by Anonymous Monk
in thread Perl module to show whitespaces?
by ndinsmore
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |