$dbh->do ("INSERT INTO $table (start, end) VALUES (?,?);", @{$cluster})
When you use do with placeholders and bind values, you also need to specify the \%attr hashref (for syntactical reasons, because the synopsis is $dbh->do($statement, \%attr, @bind_values)). You may use undef if you don't have any attributes.
$dbh->do ("INSERT INTO $table (start, end) VALUES (?,?)", undef, @$clu +ster)
In reply to Re^4: perl and psql
by almut
in thread perl and psql
by gogoglou
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |