/usr/local/perl/lib/site_perl/5.8.5/Perl/Critic/Policy/TestingAndDebugging/ProhibitProlongedStrictureOverride.pm



NAME

Perl::Critic::Policy::TestingAndDebugging::ProhibitProlongedStrictureOverride


DESCRIPTION

Every agrees that use strict is the first step to writing maintainable code in Perl. However, sometimes strict is a little too strict. In those cases, you can turn it off briefly with a no strict directive.

This policy checks that no strict is only in effect for a small number of statements.


CONFIGURATION

The default number of statements allowed per no strict is three. To override this number, put the following in your .perlcriticrc:

 [TestingAndDebugging::ProhibitProlongedStrictureOverride]
 statements = 5


AUTHOR

Chris Dolan <cdolan@cpan.org>


COPYRIGHT

Copyright (C) 2006 Chris Dolan. All rights reserved.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

 /usr/local/perl/lib/site_perl/5.8.5/Perl/Critic/Policy/TestingAndDebugging/ProhibitProlongedStrictureOverride.pm