http://www.perlmonks.org?node_id=1232713


in reply to Perlcritic inconsistently applying rules that are not in .perlcriticrc

Most of the settings for Perl::Critic and each of the Policy modules can be controlled by a configuration file. The default configuration file is called .perlcriticrc. Perl::Critic will look for this file in the current directory first, and then in your home directory. Alternatively, you can set the PERLCRITIC environment variable to explicitly point to a different file in another location. If none of these files exist, and the -profile option is not given to the constructor, then all the modules that are found in the Perl::Critic::Policy namespace will be loaded with their default configuration.
  • Comment on Re: Perlcritic inconsistently applying rules that are not in .perlcriticrc