1..6 # Should die, but doesn't: # XXX # Test::Exception: not ok 1 - Exceptions aren't hidden by eval{} during scope cleanup # Failed test 'Exceptions aren't hidden by eval{} during scope cleanup' # at /home/eirik/tmp/kladd.pl line 15. ok 2 - Of multiple failures, the "primary" one is returned # XXX not ok 3 - Failure during scope cleanup is detected # Failed test 'Failure during scope cleanup is detected' # at /home/eirik/tmp/kladd.pl line 17. # Test::Trap: ok 4 - Exceptions aren't hidden by eval{} during scope cleanup ok 5 - Of multiple failures, the "primary" one is returned # XXX not ok 6 - Failure during scope cleanup is detected # Failed test 'Failure during scope cleanup is detected' # at /home/eirik/tmp/kladd.pl line 28. # Expecting to die(), but instead return()ed with [] # Looks like you failed 3 tests of 6.