in reply to perlcritic and OO Perl (including Moose) idioms
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
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: perlcritic and OO Perl (including Moose) idioms
by boftx (Deacon) on Sep 20, 2013 at 03:17 UTC | |
by kcott (Archbishop) on Sep 20, 2013 at 06:10 UTC | |
by Anonymous Monk on Sep 20, 2013 at 03:26 UTC | |
by Anonymous Monk on Oct 05, 2018 at 22:27 UTC |