--- Geoffrey Young <[EMAIL PROTECTED]> wrote:
> I'd like Test::* to completely bailout on the first is/ok/whatever to
> fail. I just can't seem to find a canonical way to do this. but
> someone here knows, I'm sure :)
If the tests are iterative as you mention, you can do this:
foreach my $foo ( @bar ) {
ok $foo, "$foo works" or BAIL_OUT($reason);
}
Cheers,
Ovid
--
Buy the book - http://www.oreilly.com/catalog/perlhks/
Perl and CGI - http://users.easystreet.com/ovid/cgi_course/
Personal blog - http://publius-ovidius.livejournal.com/
Tech blog - http://use.perl.org/~Ovid/journal/