http://www.perlmonks.org?node_id=11104160

Don Coyote has asked for the wisdom of the Perl Monks concerning the following question:

I am getting Child exited without calling finalize() Errors in my testing. But I haven't read about that anywhere so far.

I am testing imports on string require. The first subtest works, the subs are defined in the calling main, and warn about redefinition. And they are not defined in the calling package.

As the namespace is not imported (there is no package definition in the required file), I expect a test to call a fully qualified routines from the required package to fail.

ok( ! &working_l::setlist, "calling undefined routine fails" ); --- Undefined subroutine &working_l::setlist called at working.t line 33. # Child (calling undefined subs should not work) exited without ca +lling finalize() not ok 3 - calling undefined subs should not work # Failed test 'calling undefined subs should not work' # at C:/Dwimperl/perl/lib/Test/Builder.pm line 252. # Tests were run but no plan was declared and done_testing() was not s +een.

The test appears to exit where I want it to return false here, and continue. The error seems to be fatal. Do I need to start wrapping evals, or which tests should I be making here?