If you expect a test to fail fatally and want to test that then you can use one of the many Test::* modules which help with this such as: Test::Exception, Test::Trap, Test::Fatal, etc.
In reply to Re: Test on calling undefined subs fails and exits test
by hippo
in thread Test on calling undefined subs fails and exits test
by Don Coyote
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |