$dbh->commit; # or call $dbh->rollback; to undo changes