in reply to Deleting Multiple MySQL Rows With DBI
$elements = join('","',@MESSAGE_IDS); $elements = '"'.$elements.'"'; my $sth = $dbh->prepare("DELETE * FROM table WHERE message_id in ($ele +ments)"); $sth->execute(); [download]