Subject: | don't force '-w' on test scripts |
I like to use 'Test::NoWarnings' so that I know my test scripts are
running cleanly. Some 3rd party modules that I use are not as well
behaved and produce copious warnings if run under 'perl -w'.
These warnings are not present under 'prove -l ...' but are there under
'make test', causing the tests to pass or fail depending on how they are
run.
I'd like to be able to change the $Switches variable from a Makefile.PL
so that I can run my tests without global warnings enabled. Indeed I'd
argue that setting '-w' is a bug in itself as it causes an artificial
test environment.