Login
Make sub _parse_private_name_regex() the parser for parameter
authorTom Wyant <harryfmudd@comcast.net>
Sat, 31 Oct 2009 20:12:55 +0000 (20:12 +0000)
committerTom Wyant <harryfmudd@comcast.net>
Sat, 31 Oct 2009 20:12:55 +0000 (20:12 +0000)
commit0e4d2a811fa08ee1be5e1548d348b28939df6033
tree55b16fad8fe7479c7ce1b11413771db087880260
parent3cc2a0fdac7aff99b3fdd9e6f139183286890b8f
Make sub _parse_private_name_regex() the parser for parameter
private_name_regex in P::C::P::Subroutines::ProhibitUnusedPrivateSubroutines.

Remove the negative lookahead assertion on 'parse_' in the
ProhibitUnusedPrivateSubroutines setup, since with the above fix and the
previous one on ProtectPrivateSubs it is no longer needed.
lib/Perl/Critic/Policy/Subroutines/ProhibitUnusedPrivateSubroutines.pm
xt/author/40_perlcriticrc-code