... or use place holders instead:
my $sth = $dbh->prepare("
INSERT INTO dd
VALUES(?,?)
");
$sth->execute($identifier[$eu],'Feature');
and let the module do intelligent quoting and
provide statement caching for you (like hmerrill
provided). Kudos to Taulmarill, however, for using
for my $eu (0..$#identifier) {
instead of
for (my $eu = 0; $eu <= (scalar(@identifier)); $eu++) {
|