|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.