On Wed Apr 06 08:49:52 2011, EDAVIS wrote:
Show quoted text> I think that ProhibitUnusedCapture doesn't understand ${1} on the RHS of
> a substitution, for example
>
> #!/usr/bin/perl
> # $Id: $
> use warnings;
> use strict;
> use Carp qw(croak);
> our $VERSION = 1;
>
> $_ = 'bab';
> s/b(a)b/${1}/sxm;
> print $_ or croak;
I have good news and bad news.
The bad news is that I can not duplicate this.
The good news is that this looks like a PPIx::Regexp bug that was fixed
in version 0.018, which went out 16-Feb-2011.
What version of PPIx::Regexp are you running? If less than 0.018, can
you upgrade, and does upgrading fix the problem?