in reply to Re: BEGIN and die(), an ugly combination
in thread BEGIN and die(), an ugly combination

That's a good idea. You're suggesting POSIX::_exit() because exit() will also produce the BEGIN failure error, right?

-sam

  • Comment on Re: Re: BEGIN and die(), an ugly combination

Replies are listed 'Best First'.
Re: Re: Re: BEGIN and die(), an ugly combination
by ysth (Canon) on Feb 06, 2004 at 18:05 UTC
    When I try it, exit() doesn't give the extra BEGIN failed messages, so using warn/exit will probably do what you want (unless multithreading).