The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.
#!/usr/bin/perl

use lib 'lib',            't/lib';
use Test::Most 'bail', tests => 7;
use OurTester qw($BAILED bails);

ok 1, 'Normal calls to ok() should succeed';
is 2, 2, '... as should all passing tests';
bails { is_deeply( [3], [4] ) } '... but failing tests should bail';
ok 4, 'Subsequent calls to ok() should be fine';
ok !$BAILED, '... and not bail';