Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: A serch and replace question

by PERLscienceman (Curate)
on Oct 31, 2003 at 16:46 UTC ( #303605=note: print w/ replies, xml ) Need Help??


in reply to A serch and replace question

If you are trying to replace the "\n||" with a simple "||", why not simply do this?:

$data =~ s/\n\|\|/\|\|/g;


Comment on Re: A serch and replace question
Download Code
Replies are listed 'Best First'.
Re: Re: A serch and replace question
by Anonymous Monk on Oct 31, 2003 at 19:17 UTC
    Thanks, that got it. The scary thing is that I'm certain I tried that already. But, to be honest with you I don't care that it didn't work before. I'm just greatful it works now.

    Thanks again

    -Chuckularone

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (5)
As of 2015-07-08 02:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (93 votes), past polls