Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

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.


      Dave

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (1)
As of 2021-09-28 05:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?