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

People
Owner: Nobody in particular
Requestors: amir.aharoni [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 1.105
Fixed in: 1.108



Subject: state should be allowed by Perl::Critic::Policy::CodeLayout::ProhibitParensWithBuiltins
AFAIK, the 'state' builtin introduced in Perl 5.10 behaves like my, local and our, so parentheses should be allowed with it.
Proposed fix committed as SVN revision 3752.