Yes. Your tests are a normal Perl program, except that this normal Perl program outputs OK or not OK.
If you want to prevent an error from terminating your program, you need to wrap the offending line in eval { ... }.
In reply to Re: Test on calling undefined subs fails and exits test
by Corion
in thread Test on calling undefined subs fails and exits test
by Don Coyote
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |