more useful options | |
PerlMonks |
Test::NoWarnings test 'no warnings' apparently inconsistantby mandog (Curate) |
on Jun 01, 2008 at 22:21 UTC ( [id://689602]=perlquestion: print w/replies, xml ) | Need Help?? |
mandog has asked for the wisdom of the Perl Monks concerning the following question: I'm playing with Test::NoWarnings. When I test a sub from a module, that spits out warnings, Test::NoWarnings does not complain. When I test a sub defined in the test file, test: 'no warnings' fails as i would expect.What am I missing ? See example code below
Contents of foo.pm
Back to
Seekers of Perl Wisdom
|
|