Think about Loose Coupling | |
PerlMonks |
Re^3: How to safely test if a database handle is capable of transactions?by ikegami (Patriarch) |
on Nov 19, 2008 at 21:50 UTC ( [id://724738]=note: print w/replies, xml ) | Need Help?? |
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.
In Section
Seekers of Perl Wisdom
|
|