> From: Hardy Merrill [mailto:[EMAIL PROTECTED]]

> $dbh->{RaiseError} = 1;

You might want to turn PrintError off when RaiseError is on...

> But it seems like it won't work - an eval in an eval - can
> someone just confirm for me that this won't work?

An eval within an eval is fine. It's the basis for how
exception handling is done in Perl. Though if you were
going to be consistent, you'd also eval your insert method,
and die from it if there was an error, and then catch it after
that eval (or don't even eval or catch it and let the outer
eval 'catch' it)...

HTH,
Douglas Wilson

Reply via email to