[adelaide.pm] Perl Critic with just a few rules

Mike Bruins bruins at hal9000.net.au
Sun Dec 18 18:18:12 PST 2011


I may have found the answer, the "-only" option.

http://search.cpan.org/~elliotjs/Perl-Critic-1.116/lib/Perl/Critic.pm#THE_POLICIES

On 19/12/11 12:31 PM, Mike Bruins wrote:
> Hi PMs,
>
> Does anyone know of a way to run perl critic with only a handful or
> rules, and none of the default rules ?
>
> My aim here is run Perl Critic Progressive as a SVN pre-commit hook, and
> slowly add the rules.
>
> Cheers,
>
> mike
>
>
> ___________________________________________________
> http://adelaide.pm.org/   Next Social: Fri, 23 Dec
> adelaide-pm at pm.org        Next Tech:   TBA
> http://mail.pm.org/mailman/listinfo/adelaide-pm



More information about the Adelaide-pm mailing list