NAME

t/codingstd/perlcritic.t - use perlcritic for perl coding stds.

SYNOPSIS

 # test all files
 % prove t/codingstd/perlcritic.t

 % perl t/codingstd/perlcritic.t [--theme=sometheme]

 # test specific files
 % perl t/codingstd/perlcritic.t src/foo.pl lib/parrot/bar.pm

DESCRIPTION

By default, tests all perl source files for some very specific perl coding violations.

This test uses a standard perlcriticrc file, located in tools/utils/perlcritic.conf

If you wish to run a specific policy, the easiest way to do so is to temporarily add a custom theme to the configuration file and then specify that on the command line to this script.