in reply to Re^2: How to safely test if a database handle is capable of transactions?
in thread How to safely test if a database handle is capable of transactions?
If there's an eval without a local $@; in the code that handles $dbh->{AutoCommit} = $previous_value;, then $@ will get clobbered. Keep in mind that $dbh->{AutoCommit} is a tied variable.