-bash:perl$ perl dieonfail.pl 1..3 not ok 1 - checkpoint 1 # Failed test 'checkpoint 1' # at dieonfail.pl line 6. checkpoint 2 Test failed. Stopping test. # Looks like you planned 3 tests but only ran 1. # Looks like you failed 1 test of 1 run. # Looks like your test died just after 1.