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

People
Owner: Nobody in particular
Requestors: NKH [...] cpan.org
Cc:
AdminCc:

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



Subject: Miscellanea::ProhibitTies reports a spurious error
Miscellanea::ProhibitTies report a 'Capture variable used outside conditional' code: /^commit (.*)/xsm and do { $commit = $1 ; next ; } ;
Subject: Re: [rt.cpan.org #50910] Miscellanea::ProhibitTies reports a spurious error
Date: Wed, 28 Oct 2009 09:43:39 -0700
To: bug-Perl-Critic [...] rt.cpan.org
From: Jeffrey Thalhammer <jeff [...] imaginative-software.com>
On Oct 28, 2009, at 4:18 AM, NKH via RT wrote: Show quoted text
> Miscellanea::ProhibitTies report a 'Capture variable used outside > conditional' > > code: > > > /^commit (.*)/xsm and do > { > $commit = $1 ; next ; > } ; >
I don't think this has anything to do with ProhibitTies, but I can see how this would cause a false positive with ProhibitCaptureWithoutTest. Thanks for reporting this. We'll look into it. -Jeff
Subject: Re: [rt.cpan.org #50910] Miscellanea::ProhibitTies reports a spurious error
Date: Wed, 28 Oct 2009 10:00:30 -0700
To: bug-Perl-Critic [...] rt.cpan.org
From: Jeffrey Thalhammer <jeff [...] imaginative-software.com>
On Oct 28, 2009, at 9:43 AM, Jeffrey Thalhammer via RT wrote: Show quoted text
> Thanks for reporting this. We'll look into it.
Actually, I'm unable to reproduce this using P-C 1.105. Which version do you have? -Jeff