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. It is distributed with a number of Perl::Critic::Policy modules that attempt to enforce various coding guidelines. Most Policy modules are based on Damian Conway's book Perl Best Practices. However, Perl::Critic is not limited to PBP, and will even support Policies that contradict Conway. You can enable, disable, and customize those Polices through the Perl::Critic interface. You can also create new Policy modules that suit your own tastes.
|Tags||Software Development Libraries Perl Modules Quality Assurance Refactoring|
|Operating Systems||OS Independent|
Release Notes: An error in RegularExpressions::ProhibitUnusedCapture was fixed.
Release Notes: InputOutput::RequireEncodingWithUTF8Layer recommends ":encoding(utf8)" over ":utf8" in open() and binmode(). Modules::ProhibitConditionalUseStatements prohibits "use module" inside a conditional. ControlStructures::ProhibitPostfixControls now looks for "when".
Release Notes: Compatibility with List::MoreUtils 0.28 was added.
Release Notes: Violation coloring is now configurable via command line or profile. Handling of unrecognized policy configuration items is now controlled by the profile_strictness. Many policies were adjusted.
Release Notes: The ValuesAndExpressions::ProhibitSpecialLiteralHeredocTerminator policy was added. Several policies were updated. Many bugs were fixed.