in reply to Re: Re: How to get die() to stop printing a line number?
in thread How to get die() to stop printing a line number?

Actually, a die() is quite different from an exit(), even you don't generate output with die(). If you want something equivalent, you'd need to do:
exit $! ? $! : ($? >> 8) ? ($? >> 8) : 255;

and pray $SIG{__DIE__} wasn't set, and that the code was not inside eval {}.

Abigail

Replies are listed 'Best First'.
Re: Re: How to get die() to stop printing a line number?
by cfreak (Chaplain) on Jul 02, 2003 at 15:56 UTC