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: 57065
Status: new
Priority: 0/
Queue: Perl-Critic

People
Owner: Nobody in particular
Requestors: user42 [...] zip.com.au
Cc:
AdminCc:

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



Subject: ProhibitIndirectSyntax recognised by "Foo::"
Date: Fri, 30 Apr 2010 11:14:31 +1000
To: bug-Perl-Critic [...] rt.cpan.org
From: Kevin Ryde <user42 [...] zip.com.au>
ProhibitIndirectSyntax might recognise the use of indirect syntax from the double-colon bareword style like $x = somemeth Foo::Bar:: 1,2,3; since the purpose of that syntax is to force a method call not a function call. I don't know if extra funcs to the left can upset it, like foo bar Quxx:: Recognising just the basic cases of a statement or expression starting "foo Bar::" could cover many uses.