Re: [perl #57016] debugger: o warn=0 die=0 ignored
by Tye McQueen other posts by this author
Aug 3 2008 5:59PM messages near this date
Re: [perl #57016] debugger: o warn=0 die=0 ignored
|
[perl #57016] debugger: o warn=0 die=0 ignored
On Sat, Aug 2, 2008 at 10:45 AM, Bram <p5p@[...].be> wrote:
> A small note tho: o warnLevel 0 is not intended to simulate $SIG{__WARN__}
> = 0.
>
> What it is supposed to do is restore the previously set warning handler.
>
> Currently if no previously handler is set then o warnLevel 0 is a NUL op.
>
No, it is supposed to restore the previous state of the warn handle. Having
no warn handler is a previous state. It worked properly before (prior to
the refactoring that changed "O" to "o").
May I ask at what Strawberry Perl you are looking?
>
Maybe I patched it myself long ago and forgot about it.
Tye
Thread:
Tye McQueen
Rafael Garcia-Suarez
Tye McQueen
Bram
Tye McQueen
Bram via RT
|