The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

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

Perl::Critic::Policy - Base class for all Policy modules. River stage three • 131 direct dependents • 408 total dependents

Perl::Critic::Policy is the abstract base class for all Policy objects. If you're developing your own Policies, your job is to implement and override its methods in a subclass. To work with the Perl::Critic engine, your implementation must behave as ...

PETDANCE/Perl-Critic-1.152 - 17 Oct 2023 04:09:08 UTC

Test::Perl::Critic::Policy - A framework for testing your custom Policies River stage three • 131 direct dependents • 408 total dependents

This module provides a framework for function-testing your custom Perl::Critic::Policy modules. Policy testing usually involves feeding it a string of Perl code and checking its behavior. In the old days, those strings of Perl code were mixed directl...

PETDANCE/Perl-Critic-1.152 - 17 Oct 2023 04:09:08 UTC

Perl::Critic::Policy::Perlsecret - Prevent perlsecrets entering your codebase River stage two • 2 direct dependents • 20 total dependents

This policy checks for perlsecret operators in your code and warns you about them. You can override the secrets that are allowed or disallowed using the parameters "allow_secrets" and "disallow_secrets". The default is to simply disallow everything. ...

LANCEW/Perl-Critic-Policy-Perlsecret-0.0.11 - 05 Jan 2017 20:45:37 UTC

Perl::Critic::Policy::BadStrings - Search for bad strings in source files River stage one • 1 direct dependent • 1 total dependent

This policy will search for "bad words" in a file. It does this by looking at the raw Perl file, so the "bad words" can include different types of elements. The obvious use for this module would be to search for obscene words, but it can also be used...

JMASLAK/Perl-Critic-Policy-BadStrings-1.000 - 25 Nov 2017 16:22:09 UTC

Perl::Critic::Policy::CompileTime - Provide Perl::Critic support for hunting down compile-time side effects River stage one • 1 direct dependent • 1 total dependent

Perl::Critic::Policy::CompileTime is a Perl::Critic module which allows one to quickly find code in a large codebase or installation which may not run the way one expects when compiled by the Perl compiler, B::C. With the help of the underlying code ...

XAN/Perl-Critic-Policy-CompileTime-0.03 - 26 Sep 2014 20:34:02 UTC

Perl::Critic::Policy::HTTPCookies - Avoid using HTTP::Cookies River stage one • 1 direct dependent • 1 total dependent

This module provides Perl::Critic policies to detect the use of HTTP::Cookies. HTTP::Cookies takes a very lenient approach to setting cookies that does not work well with today's Internet, described in "LIMITATIONS" in HTTP::Cookies. Consider using H...

TOMHUKINS/Perl-Critic-Policy-HTTPCookies-0.54 - 27 Aug 2020 12:49:26 UTC

Perl::Critic::Policy::ProhibitOrReturn - Do not use `or return` River stage one • 1 direct dependent • 1 total dependent

Avoid using "or return". Consider using equivalent "if" (or "unless") statement instead. # not ok sub foo { my ($x) = @_; $x or return; ... } # ok sub foo { my ($x) = @_; return if !$x; ... }...

UTGWKK/Perl-Critic-Policy-ProhibitOrReturn-0.02 - 16 Nov 2020 02:07:24 UTC

Perl::Critic::Policy::PreferredModules - Provide custom package recommendations River stage one • 1 direct dependent • 1 total dependent

Every project has its own rules for preferring specific packages over others. This Policy tries to be `un-opinionated` and let the user provide a module preferences with an explanation and/or suggested alternative....

ATOOMIC/Perl-Critic-Policy-PreferredModules-0.004 - 24 Jan 2022 22:09:59 UTC

Perl::Critic::Policy::ProhibitSmartmatch River stage one • 1 direct dependent • 1 total dependent

This distribution provides two Perl::Critic policies which help to avoid both explicit and implicit smartmatching....

HOLCAPEK/Perl-Critic-Policy-ProhibitSmartmatch-0.4 - 08 Dec 2017 08:44:38 UTC

Perl::Critic::Policy::ProhibitImplicitImport - Prefer symbol imports to be explicit River stage one • 1 direct dependent • 1 total dependent

Some Perl modules can implicitly import many symbols if no imports are specified. To avoid this, and to assist in finding where symbols have been imported from, specify the symbols you want to import explicitly in the "use" statement. Alternatively, ...

OALDERS/Perl-Critic-Policy-ProhibitImplicitImport-0.000001 - 19 Feb 2021 22:58:00 UTC

Perl::Critic::Policy::Freenode::Each - Don't use each to iterate through a hash River stage one • 8 direct dependents • 9 total dependents

Legacy "freenode" theme policy alias....

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

Perl::Critic::Policy::Community::Each - Don't use each to iterate through a hash River stage one • 8 direct dependents • 9 total dependents

The "each()" function relies on an iterator internal to a hash (or array), which is the same iterator used by "keys()" and "values()". So deleting or adding hash elements during iteration, or just calling "keys()" or "values()" on the hash, will caus...

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

Perl::Critic::Policy::Freenode::Threads - Interpreter-based threads are officially discouraged River stage one • 8 direct dependents • 9 total dependents

Legacy "freenode" theme policy alias....

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

Perl::Critic::Policy::Freenode::ModPerl - Don't use mod_perl to write web applications River stage one • 8 direct dependents • 9 total dependents

Legacy "freenode" theme policy alias....

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

Perl::Critic::PolicyBundle::SNEZ - extra Perl::Critic policies River stage one • 1 direct dependent • 1 total dependent

This is a set of policies I deemed useful but were not present in the core Perl::Critic (as far as I know)....

SNEZ/Perl-Critic-PolicyBundle-SNEZ-0.02 - 09 Aug 2019 12:24:48 UTC

Perl::Critic::Policy::Community::Threads - Interpreter-based threads are officially discouraged River stage one • 8 direct dependents • 9 total dependents

Perl interpreter threads are officially discouraged. They were created to emulate "fork()" in Windows environments, and are not fast or lightweight as one may expect. Non-blocking code or I/O can be easily parallelized by using an event loop such as ...

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

Perl::Critic::Policy::Freenode::OpenArgs - Always use the three-argument form of open River stage one • 8 direct dependents • 9 total dependents

Legacy "freenode" theme policy alias....

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

Perl::Critic::Policy::Community::ModPerl - Don't use mod_perl to write web applications River stage one • 8 direct dependents • 9 total dependents

mod_perl <http://perl.apache.org/> is an embedded Perl interpreter for the Apache <http://www.apache.org/> web server. It allows you to dynamically configure and mod Apache. It is not a generally good solution for writing web applications. Frameworks...

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

Perl::Critic::Policy::Freenode::DollarAB - Don't use $a or $b as variable names outside sort River stage one • 8 direct dependents • 9 total dependents

Legacy "freenode" theme policy alias....

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

Perl::Critic::Policy::Freenode::Wantarray - Don't write context-sensitive functions using wantarray River stage one • 8 direct dependents • 9 total dependents

Legacy "freenode" theme policy alias....

DBOOK/Perl-Critic-Community-v1.0.3 - 24 Jul 2022 06:28:31 UTC
433 results (0.086 seconds)