I have a CGI::Builder application that's dying in XML::Parser, and I want to catch it.
so I'm doing local $SIG{__DIE__} = sub { $var++; }; Which does indeed catch it, but after it hits that sub, it still dies with the XML::Parser error.
I've tried setting $SIG{__DIE__} globally with same problem :(
Is there some way to catch the die regardless? I don't want to have to do an eval because of the overhead in spawning another interpreter...
thank you! Kosun
In reply to Catching DIE no matter what by kosun
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |