I think the best way to fix this is in a different layer -- in the harness.
Make Test::Harness understand a magical 0..__END__ plan, and then expect a __END__ line, then EOF, and consider Bad Things to have happened if the output ends with no __END__ line in sight, or, conversely, if there is output past the __END__.
In reply to Re: How can I write Test::Finished?
by theorbtwo
in thread How can I write Test::Finished?
by samtregar
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |