Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

RE: Re: Reading from a file and writing the content into a database

by chromatic (Archbishop)
on Mar 31, 2000 at 22:32 UTC ( #6604=note: print w/ replies, xml ) Need Help??


in reply to Re: Reading from a file and writing the content into a database
in thread Reading from a file and writing the content into a database

my $sth = $dbh->prepare(<<SQL) or die "Can't prepare: ", $dbh->errstr; insert into data (data_1, data_2) values (?, ?) SQL
You can do that with a here doc? that's just amazing. How in the world did you figure that out?


Comment on RE: Re: Reading from a file and writing the content into a database
Download Code
Replies are listed 'Best First'.
RE: RE: Re: Reading from a file and writing the content into a database
by btrott (Parson) on Mar 31, 2000 at 23:03 UTC

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (5)
As of 2015-07-29 23:38 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 (269 votes), past polls