in reply to Catching errors with Class::DBI
eval { $entry = Contacts->create( \%hash ); }; if( $@ ) { ... handle the exception from CDBI or passed upwards by ... ... CDBI as mentioned in last two paras under EXCEPTIONS ... }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Catching errors with Class::DBI
by princepawn (Parson) on Nov 12, 2003 at 01:03 UTC |