Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options

Re^3: Replace new line with white space

by Kenosis (Priest)
on Mar 09, 2014 at 20:41 UTC ( #1077621=note: print w/replies, xml ) Need Help??

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

Show what you've tried. It may also help to mention the OS where the text was created, since you may need to s/\r\n/ /g.

Replies are listed 'Best First'.
Re^4: Replace new line with white space
by fattahsafa (Sexton) on Mar 09, 2014 at 20:58 UTC
    I'm working on windows

      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.


Log In?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1077621]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (5)
As of 2023-02-05 23:40 GMT
Find Nodes?
    Voting Booth?
    I prefer not to run the latest version of Perl because:

    Results (33 votes). Check out past polls.