http://www.perlmonks.org?node_id=821543

Ovid has asked for the wisdom of the Perl Monks concerning the following question:

I think I want Test::Most to also provide strict and warnings for people. I've mentioned this on blogs.perl.org and on Perl-QA. I've had three positive comments and no negative ones. In short, instead of this boilerplate at the top of all of your tests:

use strict; use warnings; use Test::Most tests => 34;

You just need this:

    use Test::Most tests => 34;

I hate boilerplate and this will ease it. The only thing which gives me pause is that this module has become rather popular. It has over 800 passes for the latest release and CPANTS shows more and more modules depending on it. In short, if I've missed something, I could break a lot of code.

Given that those who use Test::Most are guaranteed to have the warnings pragma available (Test::Exception uses it and Test::Most uses that), I think we're safe there. If people don't want strict and warnings, they would have to now be explicit about this intention rather than forget to use these pragmas:

use Test::Most tests => 4; no strict; no warnings;

I think this is a sane change, but I can see that it might be controversial. My major concern, though, is to understand if I'm likely to break a lot of code.