http://www.perlmonks.org?node_id=1077622


in reply to Re^3: Replace new line with white space
in thread Replace new line with white space

I'm working on windows
  • Comment on Re^4: Replace new line with white space

Replies are listed 'Best First'.
Re^5: Replace new line with white space
by davido (Cardinal) on Mar 09, 2014 at 22:17 UTC

    That's only answering half of what kenosis asked. What have you tried?

    It seems like such a simple problem that if your solution didn't work, we need to see it so that we can understand what you're doing wrong. Until then, s/\n/ / is a perfectly reasonable answer. If that answer doesn't suit you, we need to know why. "It didn't work." isn't a good enough reason. We need to know how it was incorporated into your solution, and how failure manifested itself.


    Dave