Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: Extra quotes doing SQL insert from Perl to CSV.

by Tux (Canon)
on Oct 11, 2019 at 06:27 UTC ( [id://11107335]=note: print w/replies, xml ) Need Help??


in reply to Extra quotes doing SQL insert from Perl to CSV.

This is also documented: use csv_null.

my $dbh = DBI->connect ("dbi:CSV:csv_null=1");

What I also do not understand is ;csv_sep_char=\\,;. Why escape the ,? The comma is not a special character to perl


Enjoy, Have FUN! H.Merijn

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others chanting in the Monastery: (8)
As of 2024-04-25 11:14 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found