On Fri, 12 Apr 2002, Condle, Joseph P wrote:
...
> The following is an insert script I working on.  I need to trap the
> unique constraint error and send a message back to the user.  I am
> really confused.  I have read the error handling chapter of the O'reilly
> Perl DBI book, but I just don't get it.  I must have some kind mental
> block.  If I could get a working example hopefully the light will come
> on.  This will eventually work with a html Form.  Thanx

wrap it inside an eval {}


---
Orlando Andico <[EMAIL PROTECTED]>
Mosaic Communications, Inc.

Reply via email to