my $sth = $dbh->prepare( $sql ) or die "Error in preparing SQL: $DBI::errstr\nSQL: $sql\n\n"; $sth->execute( @placeholders ) or die "Error in executing SQL: ", $sth->errstr, "\n";