GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
Perl::Critic::Policy::TestingAndDebugging::ProhibitProlongedStrictureOverride(3) User Contributed Perl Documentation Perl::Critic::Policy::TestingAndDebugging::ProhibitProlongedStrictureOverride(3)

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:

    [TestingAndDebugging::ProhibitProlongedStrictureOverride]
    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.

2022-04-08 perl v5.32.1

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.