Perl::Critic

This is an old revision of this page, as edited by 184.60.28.160 (talk) at 20:44, 1 November 2011 (add authoritative link to Perl::Critic source). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

Perl::Critic is a static code analysis system for Perl. Perl::Critic is available as a source-code distribution on CPAN. It comes with a commandline tool, perlcritic, which can check Perl source code files and report on the code quality therein. Perl::Critic has an extensible architecture that allows the programmer to choose from many "policies" which enforce different programming styles and tastes. The default policy is largely based on the recommendations in the book Perl Best Practices by Damian Conway.