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: 36059
Status: resolved
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: ProhibitPerl4PackageNames versus $'
Date: Wed, 21 May 2008 08:44:49 +1000
To: bug-Perl-Critic [...] rt.cpan.org
From: Kevin Ryde <user42 [...] zip.com.au>
With the debian packaged perlcritic 1.082 and perl 5.10; a file foo.pl containing just $' put through "perlcritic -2 foo.pl" produces (among other criticisms), "$'" uses the obsolete single quote package separator." at line 1, column 1. Use double colon (::) to separate package name components instead of single quotes (').. (Severity: 2) I was meaning the postmatch special variable here, not a perl4-ism. Perhaps $' could be allowed (or if not then a further explanation in the pod or the message).
Subject: Re: [rt.cpan.org #36059] ProhibitPerl4PackageNames versus $'
Date: Tue, 20 May 2008 18:00:27 -0500
To: bug-Perl-Critic [...] rt.cpan.org
From: Elliot Shank <perl [...] galumph.com>
Kevin Ryde via RT wrote: Show quoted text
> With the debian packaged perlcritic 1.082 and perl 5.10; a file > foo.pl containing just > > $' > > put through "perlcritic -2 foo.pl" produces (among other criticisms),
Sounds like a bug to me. I'll look into it later tonight.
Subject: Re: [rt.cpan.org #36059] ProhibitPerl4PackageNames versus $'
Date: Tue, 20 May 2008 22:44:52 -0500
To: bug-Perl-Critic [...] rt.cpan.org
From: Elliot Shank <perl [...] galumph.com>
Elliot Shank via RT wrote: Show quoted text
> Kevin Ryde via RT wrote:
>> With the debian packaged perlcritic 1.082 and perl 5.10; a file >> foo.pl containing just >> >> $' >> >> put through "perlcritic -2 foo.pl" produces (among other criticisms),
> > Sounds like a bug to me. I'll look into it later tonight.
Fix checked in. It will be in the next release (which should be soon, if I can fix a problem on Windows). Thank you for taking the time to report this.
Subject: Re: [rt.cpan.org #36059] ProhibitPerl4PackageNames versus $'
Date: Sat, 24 May 2008 15:16:45 -0500
To: bug-Perl-Critic [...] rt.cpan.org
From: Elliot Shank <perl [...] galumph.com>
Released in 1.084 today.