-
Notifications
You must be signed in to change notification settings - Fork 100
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
anon hash ref treated as code block #192
Comments
RT Ticket: http://rt.cpan.org/Ticket/Display.html?id=36249 On May 28, 2008, at 11:58 AM, Shafiek Rasdien via RT wrote:
This looks like a bug in PPI. I don't have time to investigate right Chris |
Submitted as PPI issue 34 Perl-Critic/PPI#34 |
A fix for this has been released as a dev version to CPAN. Please test and give feedback here: |
The parsing of hash constructors has been improved in PPI and this bug is now fixed via Perl-Critic/PPI#92.
The parsing of hash constructors has been improved in PPI and this bug is now fixed via Perl-Critic/PPI#92.
The full version for this is now released to CPAN as 1.220. |
This is fixed in Perl-Critic-1.123 via PPI-1.220 |
RT Ticket: http://rt.cpan.org/Ticket/Display.html?id=36249
Requested On: Wed May 28 09:58:21 2008
Requested By: shafiek@is.co.za
$ perlcritic --Version
1.084
my $o = shift || {'file' => 1, 'exec' => 1};
yields
Comma used to separate statements ... (Severity: 4)
Shafiek Rasdien
Internet Solutions
Tel: +27 11 575 1000
The text was updated successfully, but these errors were encountered: