Can anyone point me in the right direction to deal with what I think is undesirable behavior by perlcritic?
Stop using perlcritic as if its alive, its dead. perlcritic is dumb, it can't make choices for you, you have to read the docs and make your choices, and update your configuration
Read https://metacpan.org/module/Perl::Critic::Policy::Subroutines::ProhibitUnusedPrivateSubroutines, update your critic configuration file, the end :)
See also Perl::Critic::Moose for extra criticisms to install/configure/complainabout :)
You might try finding an existing "perlcriticrc for moose" , not unlike Perl::Critic::Dynamic::Moose
If I used perlcritic or moose more I might know more about this, but currently I'm satisfied with mentally ignoring any rules that don't make sense for me on the rare occasion I use perlcritic
In reply to Re: perlcritic and OO Perl (including Moose) idioms (perlcritic is dead/dumb, perlcriticrc for moose)
by Anonymous Monk
in thread perlcritic and OO Perl (including Moose) idioms
by boftx
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |