in reply to DBI to delete rows
You didn't commit the database. So the changes didn't affect the table. Set AutoCommit value 1.