# from Adam Kennedy # on Saturday 19 January 2008 18:23: >I'm not sure why BAIL_OUT wouldn't be the appropriate thing in that > case.
What's the guy's name on second? That's right. if($bad_thing_make_test_no_good) { BAIL_OUT("...")} That's great and dandy. Everyone should do it early and often. It's a perfect way for the test to tell the harness that something has gone very, very wrong. So, yeah I think we're in agreement there. Geoffrey asked why we're having this discussion, apparently he was not realizing that some people were requesting something like: package Test::More; sub ok { ... if($ENV{SOME_SILLY_HARNESSY_VARIABLE_ABOUT_STOPPING}) { ... ... Which shouldn't ever and hopefully ain't not never gonna happen. That sort of thing makes chromatic go on about spaceships, which is never good. --Eric -- "Insert random misquote here" --------------------------------------------------- http://scratchcomputing.com ---------------------------------------------------