On Wed, 24 Oct 2001 18:30:26 -0600, Keary Suska wrote: >Is there a way to trap runtime errors, and, say, output them to a log file >before perl dies?
I'd set $SIG{__DIE__} to a custom sub, which calls exit(). But, if only for inspiration, look into CGI::Carp which does this kind of thing in a CGI+browser context. -- Bart.