Unix/Linux Go Back    

CentOS 7.0 - man page for perl::critic::policy::testinganddebugging::prohibitprolongedstrictureoverride (centos section 3)

Linux & Unix Commands - Search Man Pages
Man Page or Keyword Search:   man
Select Man Page Set:       apropos Keyword Search (sections above)


       Perl::Critic::Policy::TestingAndDebugging::ProhibitProlongedStrictureOverride - Don't turn
       off strict for large blocks of code.

       This Policy is part of the core Perl::Critic distribution.

       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.

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

	   statements = 5

       Chris Dolan <cdolan@cpan.org>

       Copyright (c) 2006-2011 Chris Dolan.

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

perl v5.16.3	 Perl::Critic::Policy::TestingAndDebugging::ProhibitProlongedStrictureOverride(3)
Unix & Linux Commands & Man Pages : ©2000 - 2018 Unix and Linux Forums

All times are GMT -4. The time now is 03:54 PM.