Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re^2: swapping PIPE for comma in CSV file

by tirwhan (Abbot)
on Jun 27, 2007 at 10:44 UTC ( #623580=note: print w/ replies, xml ) Need Help??


in reply to Re: swapping PIPE for comma in CSV file
in thread swapping PIPE for comma in CSV file

I don't see why you can't just s/\",\"/\"|\"/g

Perhaps you should have taken a better look at the data in the original node then, or read the several answers that detail why that won't work in this case! (Hint: there are unquoted numbers in the data). Honestly, posting an answer to a day-old thread without even reading the preceding answers seems a complete waste of everyones time.


All dogma is stupid.


Comment on Re^2: swapping PIPE for comma in CSV file
Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (10)
As of 2015-07-02 12:34 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 (36 votes), past polls