Mailing List Archive

Re: HTML.pm future
>Whoops. I'm losing my mind. It _is_ called CGI::ErrorLog, so we're in
>full agreement! What ErrorLog does is to overload the "warn" and
>"die" keywords so that scripts that use these keywords when running
>under a server write out correctly formatted messages to the error
>log. When run from the command line, they behave in the usual way.
>I'm afraid I don't know what ErrorWrap does. Does it do the same
>thing, or does it have the more ambitious goal of catching and
>diverting errors from the compiler as well?

Yep, that's right! It does the ambitous thing. I just wish perl would
send everything through the __WARN__ and __DIE__ handlers, but right now
it sometimes yaccs it out to stderr without any chance of interception.

--tom