Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
Perl::Critic::Policy::TeUsergContributedgPerloDocumentationdStrictureOverride(3)3)

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

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

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-2011 Chris Dolan.

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

Perl::Critic::Policy::TestingAndDebugging::ProhibitProlongedStrictureOverride(3)

NAME | AFFILIATION | DESCRIPTION | CONFIGURATION | AUTHOR | COPYRIGHT

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=Perl::Critic::Policy::TestingAndDebugging::ProhibitProlongedStrictureOverride&sektion=3&manpath=FreeBSD+12.1-RELEASE+and+Ports>

home | help