develooper Front page | perl.perl5.porters | Postings from November 2008

Re: [perl #60890] corrupts $SIG{__DIE__} in BEGIN blocks

Thread Previous
Rafael Garcia-Suarez
November 30, 2008 01:30
Re: [perl #60890] corrupts $SIG{__DIE__} in BEGIN blocks
Message ID:
2008/11/28 via RT John Siracusa <>:
> It seems like another workaround could be to change the default dieLevel
> back to 0 instead of 1.
> BTW, the "perldoc perldebug" documentation seems to imply that the default
> value of dieLevel is still 0:
>    "By default, the debugger leaves your exceptions and warnings alone,
>     because altering them can break correctly running programs."
> so apparently that patch in 2001 that brian refers to only updated the
> code, but not the docs.

Here's a pointer to the patch :
and the original mail from Ilya, which is not so helpful:

I don't know what defaults are preferable for dielevel and warnlevel
in the debugger. I don't use it enough.

Thread Previous Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About