in reply to Test on calling undefined subs fails and exits test
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 { ... }.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Test on calling undefined subs fails and exits test
by Don Coyote (Hermit) on Aug 08, 2019 at 13:03 UTC |