in reply to Re: Re: CGI::Carp won't send fatalsToBrowser
in thread CGI::Carp won't send fatalsToBrowser

All I meant was, if CGI::Carp doesn't seem to work, this little snippet might help. ie. upload it into the same directory, amending the 'foo.pl' (x2) as necessary and look at the output in your browser. Since it evals the script, it traps the error and allows you to send it to the browser.

cLive ;-)

ps - if you need more inffo on this, why not /msg me...

  • Comment on Re: CGI::Carp won't send fatalsToBrowser

Replies are listed 'Best First'.
Re: Re: CGI::Carp won't send fatalsToBrowser
by George_Sherston (Vicar) on Dec 13, 2001 at 19:17 UTC
    Aha - yes, I geddit, that's very handy. Thanks.

    BTW, for the benefit of future users of the thread, I found I needed a ; after <code>eval { require 'foo.pl'; }

    § George Sherston