Beefy Boxes and Bandwidth Generously Provided by pair Networks DiBona
Perl Monk, Perl Meditation
 
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
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 examining the Monastery: (11)
As of 2014-04-20 17:45 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (485 votes), past polls