my $table = 'modeltargetsHet'; my $sth = $dbh->prepare(q{ truncate ?; }) or die $dbh->errstr; $sth->execute($table) or die $dbh->errstr;