Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re: Test::NoWarnings test 'no warnings' apparently inconsistant

by pc88mxer (Vicar)
on Jun 01, 2008 at 23:16 UTC ( #689607=note: print w/replies, xml ) Need Help??


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

It's not Test::NoWarnings fault. You'll get the warning if you use warnings in the file foo.pm.

Replies are listed 'Best First'.
Re^2: Test::NoWarnings test 'no warnings' apparently inconsistant
by tachyon-II (Chaplain) on Jun 01, 2008 at 23:51 UTC

    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.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://689607]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (4)
As of 2021-03-07 18:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My favorite kind of desktop background is:











    Results (122 votes). Check out past polls.

    Notices?