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