> From: Shao, Chunning [mailto:[EMAIL PROTECTED]]
> 
> But it did not mention that whether it will close the connection with
> the database, close the statemnet handle, return the resource to the
> operating system, etc.
> 
> Can we trust RaiseError On option? 

Trust it to do what??

If you want to clean up yourself, you can wrap DBI
calls in an eval:

eval {
 $dbh->....do all kinds of stuff
 ...
 $dbh->commit;
};
if ($@) {
 $dbh->rollback;
 $dbh->disconnect;
}

Reply via email to