On 2011-03-29 23:05, Michael Ludwig wrote: >> Perhaps the 'bail_on_fail' or 'die_on_fail' functions from Test::Most >> would help you here? > > That's very convenient.
perl -le 'use Test::More tests => 2; ok(1) or die; ok(1);' perl -le 'use Test::More tests => 2; ok(0) or die; ok(1);' Cheers, Jozef