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

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

Dear Fellow Monks, it's one of those stray days between Christmas and New Year when I have to be in work but cannot do anything due to the code freeze we have for this period. So this question came to mind. :-)

I'd like to invite Perl Monks to elucidate on when use strict; and use warnings; should NOT used.

There are obviously occasions when unwanted error messages and warnings are generated, but as far as I'm concerned you should only turn it off (no strict) for the statements in question, not for the whole script.

What I would like to know is whether there is any occasion when these should not be used for the entire script?

A Monk aims to give answers to those who have none, and to learn from those who know more.