Don't ask to ask, just ask | |
PerlMonks |
Re: Replace new line with white spaceby llancet (Friar) |
on Mar 10, 2014 at 01:40 UTC ( [id://1077641]=note: print w/replies, xml ) | Need Help?? |
You don't need regexp. You can just read a line each time, chomp the trailing "\n", then write it with a trailing space.
In Section
Seekers of Perl Wisdom
|
|