Subject: | perlcritcrc settings ignored |
Date: | Mon, 23 Jun 2008 08:44:04 -0400 |
To: | <bug-Perl-Critic [...] rt.cpan.org> |
From: | "Smith, Mark E CTR USAF AFMC AEDC/ATA" <Mark.E.Smith [...] arnold.af.mil> |
The values I set in perlcriticrc are ignored when I run perlcritic. For example
# Perl Best Practices
theme = pbp
If I use -theme pbp on the command line the results are as expected. I don't know if this is only a perlcritic issue or also a module issue.
This may result from old installed perl modules. This is on a Red Hat EL 5 machine that does not get updated often.
perlcritic version: 1.087
perl version: 5.8.8
I did some investigation and found that perlcritic is read and the value placed in $CRITIC->{_config}, but if I use -theme pbp on the command line there are many more policies included.