more useful options | |
PerlMonks |
Re: How to remove \n between two words but retain one spaceby sk (Curate) |
on Nov 26, 2005 at 18:20 UTC ( [id://511936]=note: print w/replies, xml ) | Need Help?? |
Output
Update: Please note this replaces all whitespace chars to a single space char. So if you have leading/trailing spaces please go with Your Mother's solution!
In Section
Seekers of Perl Wisdom
|
|