in reply to bad die behaviour?

Just tried your code on Windows ActiveState 5.8.8. with the calls to Log and CloseLog commented out: the script returns 255 correctly.

Replies are listed 'Best First'.
Re^2: bad die behaviour?
by Anonymous Monk on Sep 10, 2007 at 13:27 UTC
    I tried the same on HP/UX and it doesn't work for me: the script returns 0, even forcing $!=1 before the die.

    thanks
    Xavi