So, we have a "corporate" perlcriticrc file that we've been using before checking in our code. However, there are a few policies that I would prefer our team to be more strict on (and the owner of this file doesn't agree).
So, is it possible to create a .perlcriticrc which first loads the policy set from a second .perlcriticrc, then overrides anything loaded?
What I'm thinking is something like:
load_rc_file = /path/to/corporate/perlcriticrc
# Corporate rc allows dead code. We don't want that
[Subroutines:ProhibitUnusedPrivateSubroutines]
# Corporate rc allows too high complexity.
[Modules:ProhibitExcessMainComplexity]
max_mccabe = 10
I'm just lost on how to "include" another perlcriticrc. I know that I can override with command-line options. Unfortunately, asking my team to add an option or two to their perlcritic runs is much too complicated.