in reply to How to test exit?

CORE::exit can be overridden, so you might could play some games with that (making it instead die with a specific string containing the exit value passed and catch that inside an eval handler).

Replies are listed 'Best First'.
Re^2: How to test exit?
by Trizor (Pilgrim) on Jun 05, 2007 at 20:40 UTC
    Another option stemming from the core would be to look and see if perl itsself has any test.t's for exit and how those were done.