You can assign subroutines to $SIG{__WARN__} and $SIG{__DIE__} that will get called in case of warnings or dying, and do any logging you want there. See 'perldoc -f die' and 'perldoc -f warn' for information on these handlers.
| We're not surrounded, we're in a target-rich environment! |
|---|
In reply to Re: Re: Re: Trapping CGI Error
by jasonk
in thread Trapping CGI Error
by tcf22
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |