Search results for "module:Perl::Critic::Policy::NamingConventions::Capitalization"

Perl::Critic::Policy::NamingConventions::Capitalization - Distinguish different program components by case. River stage three • 131 direct dependents • 386 total dependents

Conway recommends to distinguish different program components by case. Normal subroutines, methods and variables are all in lower case. my $foo; # ok my $foo_bar; # ok sub foo {} # ok sub foo_bar {} # ok my $Foo; # not ok my $foo_Bar; # not ok sub Fo...

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

Perl::Critic::RENEEB - A collection of handy Perl::Critic policies River stage one • 1 direct dependent • 1 total dependent

The rules included with the Perl::Critic::RENEEB group include: Perl::Critic::Policy::RegularExpressions::RequireExtendedFormattingExceptForSplit I use split with regular expressions regularly, but I don't want to use the x-modifier there. So I wrote...

RENEEB/Perl-Critic-RENEEB-2.05 - 01 Dec 2020 07:16:10 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

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::Violation - A violation of a Policy found in some source code. River stage three • 131 direct dependents • 386 total dependents

Perl::Critic::Violation is the generic representation of an individual Policy violation. Its primary purpose is to provide an abstraction layer so that clients of Perl::Critic don't have to know anything about PPI. The "violations" method of all Perl...

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

Perl::Critic::Policy::Reneeb::Capitalization - NamingConventions::Capitalization plus the ability to exempt "Full qualified package names" River stage one • 1 direct dependent • 1 total dependent

RENEEB/Perl-Critic-RENEEB-2.05 - 01 Dec 2020 07:16:10 UTC

Perl::Critic::Policy::logicLAB::ModuleBlacklist - blacklist modules you want to prohibit use of River stage one • 2 direct dependents • 3 total dependents

This policy can be used to specify a list of unwanted modules. Using a blacklisting, so if the modules are used in the evaluated code a violation is triggered. In addition to blacklisting modules it is possible to recommend alternatives to blackliste...

JONASBN/Perl-Critic-Policy-logicLAB-ModuleBlacklist-0.04 - 06 Sep 2015 16:54:39 UTC

Perl::Critic::Policy::logicLAB::RequireVersionFormat - assert version number formats River stage one • 2 direct dependents • 3 total dependents

This policy asserts that a specified version number conforms to a specified format. The default format is the defacto format used on CPAN. X.X and X.X_X where X is an arbitrary integer, in the code this is expressed using the following regular expres...

JONASBN/Perl-Critic-Policy-logicLAB-RequireVersionFormat-0.08 - 27 Aug 2015 16:07:55 UTC

Perl::Critic::Policy::logicLAB::RequireSheBang - simple policy for keeping your shebang line uniform River stage one • 2 direct dependents • 3 total dependents

This policy is intended in guarding your use of the shebang line. It assists in making sure that your shebang line adheres to certain formats. The default format is #!/usr/local/bin/perl You can however specify another or define your own in the confi...

JONASBN/Perl-Critic-Policy-logicLAB-RequireSheBang-0.07 - 28 Aug 2015 07:05:05 UTC

Perl::Critic::Policy::logicLAB::ProhibitUseLib - simple policy prohibiting the use of 'use lib' River stage one • 3 direct dependents • 4 total dependents

The 'use lib' statement, hardcodes the include path to be used. This can give issues when moving modules and scripts between diverse environments. use lib '/some/path'; #not ok use lib qw(/you/do/not/want/to/go/down/this/path /or/this); #not ok Inste...

JONASBN/Perl-Critic-Policy-logicLAB-ProhibitUseLib-0.04 - 22 Aug 2015 07:18:26 UTC

Perl::Critic::Policy::NamingConventions::ProhibitMixedCaseVars - Write $my_variable = 42 instead of $MyVariable = 42. River stage one • 4 direct dependents • 5 total dependents

Conway's recommended naming convention is to use lower-case words separated by underscores. Well-recognized acronyms can be in ALL CAPS, but must be separated by underscores from other parts of the name. my $foo_bar #ok my $foo_BAR #ok my @FOO_bar #o...

THALJEF/Perl-Critic-Deprecated-1.119 - 29 Oct 2013 16:43:17 UTC

Perl::Critic::Policy::NamingConventions::ProhibitMixedCaseSubs - Write sub my_function{} instead of sub MyFunction{}. River stage one • 4 direct dependents • 5 total dependents

Conway's recommended naming convention is to use lower-case words separated by underscores. Well-recognized acronyms can be in ALL CAPS, but must be separated by underscores from other parts of the name. sub foo_bar{} #ok sub foo_BAR{} #ok sub FOO_ba...

THALJEF/Perl-Critic-Deprecated-1.119 - 29 Oct 2013 16:43:17 UTC

Perl::Critic::Policy::logicLAB::RequireParamsValidate - simple policy for enforcing use of Params::Validate River stage one • 2 direct dependents • 3 total dependents

JONASBN/Perl-Critic-Policy-logicLAB-RequireParamsValidate-0.03 - 27 Aug 2015 21:05:32 UTC

Perl::Critic::Policy::logicLAB::ProhibitShellDispatch - simple policy prohibiting shell dispatching River stage one • 2 direct dependents • 3 total dependents

Using Perl builtins to dispatch to external shell commands are not particularly portable. This policy aims to assist the user in identifying these critical spots in the code and exchange these for pure-perl solutions and CPAN distributions. The polic...

JONASBN/Perl-Critic-Policy-logicLAB-ProhibitShellDispatch-0.05 - 21 Aug 2015 18:49:01 UTC

Perl::Critic::Policy::logicLAB::RequirePackageNamePattern - simple policy for enforcing a package naming policy River stage one • 2 direct dependents • 3 total dependents

The policy can be used to enforced naming conventions for packages....

JONASBN/Perl-Critic-Policy-logicLAB-RequirePackageNamePattern-0.05 - 27 Aug 2015 16:03:52 UTC
15 results (0.108 seconds)