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


in reply to Re^3: Testing test function
in thread Testing test function

I'm afraid that wouldn't work, because test_foo() emits TAP as well as uses the same Test::Builder instance (since it uses Test::More also) and will interfere with the test script.