That will change the blocky newlines into Windows CRLF lines, making it much more readable in a program such as Notepad. Keep in mind that other viewers for Windows, such as the standard wordpad.exe will properly translate the files.$textorline =~ s/([^\r])\n/$1\r\n/g;
In reply to Re: file cleaning up
by JayBonci
in thread file cleaning up
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |