On Mon, 15 Dec 2003 [EMAIL PROTECTED] wrote:

> Howdy,
> 
> If I'm handling errors with eval {} if ($@) {} constructs, is there any
> hidden gotcha to grouping several statements in a single eval if I want
> any errors handled identically?  For instance, can I wrap an execute and
> its fetches into one eval, as below, or is this something I should be
> wary of?

Wrapping several statements in one eval is a fairly standard way of doing 
things, but what you might want to be wary of is what happens were a  
$dbh->rollback() to thow an exception.


Rudy

Reply via email to