Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Perl-Critic CPAN distribution.

Report information
The Basics
Id: 86083
Status: open
Priority: 0/
Queue: Perl-Critic

People
Owner: Nobody in particular
Requestors: l.mai [...] web.de
Cc:
AdminCc:

Bug Information
Severity: Wishlist
Broken in: 1.118
Fixed in: (no value)



Subject: Perl::Critic::Policy::Subroutines::ProhibitBuiltinHomonyms doesn't know about :method
Perl::Critic::Policy::Subroutines::ProhibitBuiltinHomonyms shouldn't complain for methods explicitly marked as :method, e.g.: sub index :method { # ... } See https://metacpan.org/module/attributes#Built-in-Attributes for details about :method.
On Wed Jun 12 02:30:28 2013, l.mai@web.de wrote: Show quoted text
> Perl::Critic::Policy::Subroutines::ProhibitBuiltinHomonyms shouldn't > complain for methods explicitly marked as :method, e.g.:
It seems that PPI does understand subroutine attributes, so this should be very fixable. https://metacpan.org/module/PPI::Token::Attribute