Login
RT #75397: ProhibitBuiltinHomonyms should include the sub name in the
authorTom Wyant <harryfmudd@comcast.net>
Thu, 1 Mar 2012 00:12:49 +0000 (00:12 +0000)
committerTom Wyant <harryfmudd@comcast.net>
Thu, 1 Mar 2012 00:12:49 +0000 (00:12 +0000)
commitfea2931ce787e5260fa217379db60f270296770c
tree16bf8eebe93486be502545ff4f3024b87509e1f3
parent8913f8b8030d54aab88ded80c5ef755f7aed0816
RT #75397: ProhibitBuiltinHomonyms should include the sub name in the
error message

I took a swing at this. Just a matter of adding $elem->name() on the end
of the message.
lib/Perl/Critic/Policy/Subroutines/ProhibitBuiltinHomonyms.pm