http://qs321.pair.com?node_id=172469


in reply to Re: checking to do a inser or update
in thread checking to do a insert or update

With regards to commit, by default DBI defaults to AutoCommit on, which means that DBI will commit after each statement.

See the DBI docs, in particular here.

If you've turned AutoCommit off, it is a bad idea to rely on disconnect to commit for you, the docs say the transaction behaviour of disconnect is undefined...