On Fri, 8 Dec 2000, Bruce W. Hoylman wrote:

> >>>>> "Matt" == Matt Sergeant <[EMAIL PROTECTED]> writes:
>
>     Matt> On Fri, 8 Dec 2000, Bruce W. Hoylman wrote:
>     >>
>     >> use IO::File;
>     >> use CGI::Carp qw(carpout fatalsToBrowser carp);
>     Matt> Bye bye exception handling.
>
> You mean eval{} block exception handling, or something else?  What are
> the technical specifics around this assertion?

fatalsToBrowser installs a $SIG{__DIE__} handler, and so prevents you from
properly using eval{} blocks, or nice modules like Error.pm or
Class::Exception (or whichever way around Dave has it this week :-)

See my rant, erm, section in the guide on exception handling.

-- 
<Matt/>

    /||    ** Director and CTO **
   //||    **  AxKit.com Ltd   **  ** XML Application Serving **
  // ||    ** http://axkit.org **  ** XSLT, XPathScript, XSP  **
 // \\| // **     Personal Web Site: http://sergeant.org/     **
     \\//
     //\\
    //  \\


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to