Search results for "module:Perl::Critic::Policy::TestingAndDebugging::RequireUseStrict"

Perl::Critic::Policy::TestingAndDebugging::RequireUseStrict - Always use strict. River stage three • 131 direct dependents • 386 total dependents

Using strictures is probably the single most effective way to improve the quality of your code. This policy requires that the "'use strict'" statement must come before any other statements except "package", "require", and other "use" statements. Thus...

PETDANCE/Perl-Critic-1.142 - 29 Nov 2022 02:20:23 UTC

Perl::Critic - Critique Perl source code for best-practices. River stage three • 131 direct dependents • 386 total dependents

Perl::Critic is an extensible framework for creating and applying coding standards to Perl source code. Essentially, it is a static source code analysis engine. Perl::Critic is distributed with a number of Perl::Critic::Policy modules that attempt to...

PETDANCE/Perl-Critic-1.142 - 29 Nov 2022 02:20:23 UTC

Test::Perl::Critic - Use Perl::Critic in test programs River stage three • 166 direct dependents • 271 total dependents

Test::Perl::Critic wraps the Perl::Critic engine in a convenient subroutine suitable for test programs written using the Test::More framework. This makes it easy to integrate coding-standards enforcement into the build process. For ultimate convenien...

PETDANCE/Test-Perl-Critic-1.04 - 26 Mar 2018 15:07:07 UTC

Perl::Critic::Config - The final derived Perl::Critic configuration, combined from any profile file and command-line parameters. River stage three • 131 direct dependents • 386 total dependents

Perl::Critic::Config takes care of finding and processing user-preferences for Perl::Critic. The Config object defines which Policy modules will be loaded into the Perl::Critic engine and how they should be configured. You should never really need to...

PETDANCE/Perl-Critic-1.142 - 29 Nov 2022 02:20:23 UTC

Perl::Critic::Policy::Community::StrictWarnings - Always use strict and warnings, or a module that imports these River stage one • 8 direct dependents • 9 total dependents

The strict and warnings pragmas help avoid many common pitfalls such as misspellings, scoping issues, and performing operations on undefined values. Warnings can also alert you to deprecated or experimental functionality. The pragmas may either be ex...

DBOOK/Perl-Critic-Community-v1.0.3 - 24 Jul 2022 06:28:31 UTC

Perl::Critic::Policy::TestingAndDebugging::ProhibitNoStrict - Prohibit various flavors of no strict. River stage three • 131 direct dependents • 386 total dependents

There are good reasons for disabling certain kinds of strictures, But if you were wise enough to "use strict" in the first place, then it doesn't make sense to disable it completely. By default, any "no strict" statement will violate this policy. How...

PETDANCE/Perl-Critic-1.142 - 29 Nov 2022 02:20:23 UTC
6 results (0.11 seconds)