Keep It Simple, Stupid | |
PerlMonks |
Re: Replace new line with white spaceby wind (Priest) |
on Mar 09, 2014 at 21:45 UTC ( [id://1077623]=note: print w/replies, xml ) | Need Help?? |
I suspect that what you really need is chomp, and that you don't need a regex at all.
However, without seeing your code we can't confidently advise you either way.
In Section
Seekers of Perl Wisdom
|
|