Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re^4: Using regex to add a single backslash to escape quotes, instead of 2 backslashes or 0

by lancer (Beadle)
on Jul 26, 2012 at 21:39 UTC ( #983944=note: print w/ replies, xml ) Need Help??


in reply to Re^3: Using regex to add a single backslash to escape quotes, instead of 2 backslashes or 0
in thread Using regex to add a single backslash to escape quotes, instead of 2 backslashes or 0

I needed to convert a CSV file to SQL format (it would be later imported with phpMyAdmin). At the time of conversion there was no database to connect to, but a $dbh can be only created with a connection to a DB.

Someone on StackOverflow suggested to use the above solution which works without a DB connection. ( http://stackoverflow.com/a/10458266 )


Comment on Re^4: Using regex to add a single backslash to escape quotes, instead of 2 backslashes or 0

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://983944]
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: (6)
As of 2015-07-04 10:20 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 (59 votes), past polls