-
-
22 Dec 2020 00:40:15 UTC
- Browse (raw)
- Changes
- Homepage
- How to Contribute
- Repository
- Issues (4)
- Testers (142 / 0 / 2)
- Kwalitee
Bus factor: 0- 89.87% Coverage
- License: artistic_2
- Perl: v5.10.1
- Activity
24 month- Tools
- Download (42.48KB)
- MetaCPAN Explorer
- Permissions
- Subscribe to distribution
- Permalinks
- This version
- Dependencies
- Carp
- Exporter
- List::Util
- PPI
- Path::Tiny
- Perl::Critic
- Perl::Critic::Policy::Objects::ProhibitIndirectSyntax
- Perl::Critic::Policy::Subroutines::ProhibitAmpersandSigils
- Perl::Critic::Policy::ValuesAndExpressions::ProhibitArrayAssignAref
- Perl::Critic::Policy::Variables::ProhibitConditionalDeclarations
- Perl::Critic::Policy::Variables::ProhibitLoopOnHash
- Perl::Critic::Policy::Variables::RequireLexicalLoopIterators
- Scalar::Util
- parent
- version
- Reverse dependencies
- CPAN Testers List
- Dependency graph
Changes for version 0.033 - 2020-12-21
- Update various recommendations for alternatives in DiscouragedModules policy
- Add better examples for EmptyReturn (#39) and Each policies
Modules
Perl::Critic policies inspired by #perl on freenode IRCUtility functions for the Freenode policy setDon't use & to call subroutinesDon't assign an anonymous arrayref to an arrayDon't use bareword filehandles other than built-insDon't declare variables conditionallyDon't end a subroutine with a conditional blockAvoid features that have been deprecated or removed from PerlVarious modules discouraged from useDon't use $a or $b as variable names outside sortDon't use each to iterate through a hashDon't use return with no argumentsDon't call methods indirectlyDon't use undeclared foreach loop iteratorsDon't loop over hashesDon't use mod_perl to write web applicationsDon't use multidimensional array emulationAlways use the three-argument form of openDon't use overload without specifying a bool overload and enabling fallbackDon't use POSIX without specifying an import listModule files should declare a package matching the filenameVarious modules with preferred alternativesDon't use function prototypesAlways use strict and warnings, or a module that imports theseInterpreter-based threads are officially discouragedDon't write context-sensitive functions using wantarrayScripts should not use the -w switch on the shebang lineDon't use while with implicit assignment to $_Module Install Instructions
To install Perl::Critic::Freenode, copy and paste the appropriate command in to your terminal.
cpanm Perl::Critic::Freenode
perl -MCPAN -e shell install Perl::Critic::Freenode
For more information on module installation, please visit the detailed CPAN module installation guide.