To throw errors, call die. To throw warnings, call warn
The next version of the module will call warn so I can trap the output with Test::Warn
However, I will not call die. I find it frustrating when modules die. Especially modules where there is a reasonable chance that there may be an error such as when they are dealing with a network or rely on the user to provide input in a particular format such as valid JSON - I attempt not to inflict that frustration on others.
In reply to Re^6: STDERR in Test Results
by Bod
in thread STDERR in Test Results
by Bod
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |