more useful options | |
PerlMonks |
Re: Replace new line with white spaceby Kenosis (Priest) |
on Mar 09, 2014 at 20:31 UTC ( [id://1077618]=note: print w/replies, xml ) | Need Help?? |
Help me understand what you're asking. A newline (\n) is a species of whitespace. Do you mean replace each newline with a space character, i.e., " " (\x20)? If so, you can:
In Section
Seekers of Perl Wisdom
|
|