debian man page for perl::critic::policy::testinganddebugging::prohibitprolongedstri

Query: perl::critic::policy::testinganddebugging::prohibitprolongedstri

OS: debian

Section: 3pm

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

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

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 v5.14.2 Perl::Critic::Policy::TestingAndDebugging::ProhibitProlongedStrictureOverride(3pm)
Related Man Pages
perl::critic::policy::variables::protectprivatevars(3) - centos
perl::critic::policy::testinganddebugging::requiretestlabels(3) - centos
perl::critic::policy::testinganddebugging::prohibitnostrict(3pm) - debian
perl::critic::policy::testinganddebugging::requiretestlabels(3pm) - debian
perl::critic::policy::variables::requirenegativeindices(3pm) - debian
Similar Topics in the Unix Linux Community
How can I do this in VI editor?
Is UNIX an open source OS ?
Introduction
A (ksh) Library For and From UNIX.com
My first PERL incarnation... Audio Oscillograph