http://perlbuzz.com/2017/06/28/avoid-the-vagueness-of-dies_ok-in-testexception/ `dies_ok` will pass if your code dies for any reason. For example: dies_ok( sub { incorrectly_named_sub_because_of_a_typo() } ); Encourage users of the module to use `throws_ok` instead.