in reply to perlcritic and OO Perl (including Moose) idioms

Per Perl::Critic::Policy::Subroutines::ProhibitUnusedPrivateSubroutines, adding something like this to your .perlcriticrc might suffice:

[Subroutines::ProhibitUnusedPrivateSubroutines] private_name_regex = _(?!build_)\w+

Replies are listed 'Best First'.
Re^2: perlcritic and OO Perl (including Moose) idioms
by boftx (Deacon) on Sep 20, 2013 at 03:12 UTC

    Thanks! That will help for that, and gives me a few ideas about where else I can look.

      Hmm, if I were in your boat I might write something like Perl::Critic::Policy::Moose::BuilderNamingConvention -- ensures proper prefix/sufix for has(...builder...)

      But with a better name :)

        Good point. It's been a while since I put anything new on CPAN. Probably won't need more than two bottles of Scotch to complete. :)