Since I can't use the warnings pragma on 5.005 I've taken to setting $^W during BEGIN in all of my tests. Adding on a handler to SIG{WARNING} completes the chain so tests don't pass unless the code runs without warnings. The actual module code doesn't set this of course.
In reply to Re: Die On Warnings
by diotalevi
in thread Die On Warnings
by rkg
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |