A quick search on cpan for "DOS NL" revealed the Text::FixEOL module, "cpan Text::FixEOL" installed it, and 2 lines of perl code implemented it. In less than 5 minutes, my problem was solved.Wait, you spend a whole five minutes, installed a module when all you need is:
That doesn't really sound as a convincing anecdote.$text =~ s/\R/\r\n/g;
In reply to Re^2: Top Seven (Bad) Reasons Not To Use Modules
by JavaFan
in thread Top Seven (Bad) Reasons Not To Use Modules
by bellaire
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |