Is there a simple search and replace command I can do to remove all the newline characters from a string? (besides splitting the string based on \n and then joining the elements)
This seems pretty basic but the below commands don't seem to work: s/\\n//g s/\n//g -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/