in reply to XML::Parser and CGI 'fatalsToBrowser' incompatible?

yes, you've got it. the problem seems to be that CGI::Carp doesn't properly localize $SIG{__DIE__}.

drove me nuts when i ran into this too. i haven't seen any solution other than just not using fatalsToBrowser in any code that uses XML::Parser.

anders pearson

  • Comment on Re: XML::Parser and CGI 'fatalsToBrowser' incompatible?

Replies are listed 'Best First'.
(tye)Re: XML::Parser and CGI 'fatalsToBrowser' incompatible?
by tye (Sage) on Jul 28, 2001 at 10:34 UTC

    I believe that this problem is fixed by newer releases of CGI::Carp by having the __DIE__ handler (ack, pfft) check $^S. My version of CGI::Carp is 1.14 and it does this.

            - tye (but my friends call me "Tye")