> From: dba dba [mailto:[EMAIL PROTECTED]] > I tried to put the line > > if ($dbh->error) {trap_die("error");} > but it will not work because the perl will exit as soon as it raise > error. catch exceptions with eval: eval { #DBI stuff connect, prepare, execute, fetch, etc. # (with RaiseError=>1 !!!) }; trap_die($@) if $@; HTH, Douglas Wilson
- Help:how to call email function when sees error? dba dba
- Re: Help:how to call email function when sees error? lembark
- customizable RaiseError behavior Wilson, Doug
- customizable RaiseError behavior Matthew Wickline
- FW: Help:how to call email function when sees error? LBaxter
