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

People
Owner: Nobody in particular
Requestors: shafiek [...] is.co.za
Cc:
AdminCc:

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



CC: Gabriel Fortuna <gabrielf [...] is.co.za>, Shaun Sharples <shaun [...] is.co.za>
Subject: anon hash ref treated as code block
Date: Wed, 28 May 2008 18:57:57 +0200
To: bug-Perl-Critic [...] rt.cpan.org
From: Shafiek Rasdien <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
Download (untitled)
application/pgp-signature 187b

Message body not shown because it is not plain text.

Subject: Re: [rt.cpan.org #36249] anon hash ref treated as code block
Date: Wed, 28 May 2008 17:32:21 -0500
To: bug-Perl-Critic [...] rt.cpan.org
From: Chris Dolan <chris [...] chrisdolan.net>
On May 28, 2008, at 11:58 AM, Shafiek Rasdien via RT wrote: Show quoted text
> > Wed May 28 12:58:27 2008: Request 36249 was acted upon. > Transaction: Ticket created by shafiek@is.co.za > Queue: Perl-Critic > Subject: anon hash ref treated as code block > Broken in: (no value) > Severity: (no value) > Owner: Nobody > Requestors: shafiek@is.co.za > Status: new > Ticket <URL: http://rt.cpan.org/Ticket/Display.html?id=36249 > > > > $ perlcritic --Version > 1.084 > > my $o = shift || {'file' => 1, 'exec' => 1}; > > yields > > Comma used to separate statements ... (Severity: 4)
This looks like a bug in PPI. I don't have time to investigate right now -- would someone be willing to re-file this as a PPI defect? Chris