> Under mod_perl, the die() within the eval block causes the > program to really die. Does your program (maybe CGI.pm or something used by CGI.pm?) set $SIG{'DIE'}? IIRC, $SIG{'DIE'} has precedence over eval{}, something many consider to be a bug. If so, I'd try: eval { local $SIG{'DIE'}; # undefine $SIG{'DIE'} in this block ...normal code... }; if ($@) { ...normal code... } ELB
- Eval block error trapping bug???? Chuck Goehring
- Re: Eval block error trapping bug???? Eric L. Brine
- Re: Eval block error trapping bug???? Matt Sergeant
- Re: Eval block error trapping bug???? Matt Sergeant
- Re: Eval block error trapping bug???? Chuck Goehring