As noted you don't set warnings in your .pm, adding $^W++ in your .t test file will switch warnings on globally and thus make it behave as you desire.
In reply to Re^2: Test::NoWarnings test 'no warnings' apparently inconsistant
by tachyon-II
in thread Test::NoWarnings test 'no warnings' apparently inconsistant
by mandog
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |