On Fri, 4 May 2001, Perrin Harkins wrote:
> on 5/4/01 9:28 AM, Mark Maunder at [EMAIL PROTECTED] wrote:
> > I have an Apache::Registry script that is using XML::Parser. The parser throws
> > a
> > 'die' call if it encounters a parse error (Why?).
>
> Because it's an exception and the parser can't continue.
>
> > I was handling this by
> > putting
> > the code in an eval block, but this no longer works since all Registry scripts
> > are already in one huge eval block.
>
> It should still work. An eval{} is scoped like any other block. Maybe you
> have a typo? Post your code and we'll look at it.
More likely is a b0rked $SIG{__DIE__} handler, like fatalsToBrowser. Yick.
--
<Matt/>
/|| ** Founder and CTO ** ** http://axkit.com/ **
//|| ** AxKit.com Ltd ** ** XML Application Serving **
// || ** http://axkit.org ** ** XSLT, XPathScript, XSP **
// \\| // ** mod_perl news and resources: http://take23.org **
\\//
//\\
// \\