eval { $entry = Contacts->create( \%hash ); }; if( $@ ) { ... handle the exception from CDBI or passed upwards by ... ... CDBI as mentioned in last two paras under EXCEPTIONS ... }
In reply to Re: Catching errors with Class::DBI
by shenme
in thread Catching errors with Class::DBI
by freddo411
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |