my $sth = $dbh->prepare("INSERT INTO tbl VALUES (?,?,?)"); $sth->execute(@values) or die $dbh->errstr;