http://qs321.pair.com?node_id=689610


in reply to Re: Test::NoWarnings test 'no warnings' apparently inconsistant
in thread Test::NoWarnings test 'no warnings' apparently inconsistant

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.