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


 % prove t/codingstd/perlcritic.t

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


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

Optionally specify a file on the command line to test only that file. If you specify a directory, any perl files under that directory are tested.

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.