in reply to correct way to do multi-insert/update transaction
This is a trivial example but i hope it does what i am intending?
Just try it. Compare the run time of your script with a version that sets AutoCommit => 1 and never explicitly commits.