Skip Menu |

This queue is for tickets about the Regexp-Common CPAN distribution.

Report information
The Basics
Id: 29450
Status: resolved
Priority: 0/
Queue: Regexp-Common

People
Owner: Nobody in particular
Requestors: FANY [...] cpan.org
Cc: regexp-common [...] abigail.nl
AdminCc:

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



CC: regexp-common [...] abigail.nl
Subject: Variables not available
With Perl 5.9.5, I get warnings when loading Regexp::Common: $ perl5.9.5 -w -MRegexp::Common -e 1 Variable "$s" is not available at (re_eval 23) line 1. Variable "$x" is not available at (re_eval 23) line 1. (This does not happen with Perl 5.8.8.) "perl -d" shows that this happens at line 292 of Regexp::Common::comment. I think the variables in question there should be declared inside the "(?{ ... })" assertion within the regular expression to solve this issue. Regards, fany
Subject: Re: [rt.cpan.org #29450] Variables not available
Date: Tue, 18 Sep 2007 14:02:58 +0200
To: via RT <bug-Regexp-Common [...] rt.cpan.org>
From: Abigail <abigail [...] abigail.be>
On Tue, Sep 18, 2007 at 01:37:17AM -0400, via RT wrote: Show quoted text
> > Tue Sep 18 01:37:15 2007: Request 29450 was acted upon. > Transaction: Ticket created by FANY > Queue: Regexp-Common > Subject: Variables not available > Broken in: 2.120 > Severity: (no value) > Owner: Nobody > Requestors: FANY@cpan.org > Status: new > Ticket <URL: http://rt.cpan.org/Ticket/Display.html?id=29450 > > > > With Perl 5.9.5, I get warnings when loading Regexp::Common: > > $ perl5.9.5 -w -MRegexp::Common -e 1 > Variable "$s" is not available at (re_eval 23) line 1. > Variable "$x" is not available at (re_eval 23) line 1. > > (This does not happen with Perl 5.8.8.) > > "perl -d" shows that this happens at line 292 of > Regexp::Common::comment. I think the variables in question there should > be declared inside the "(?{ ... })" assertion within the regular > expression to solve this issue.
Thank you for your report. I cannot reproduce this with perl 5.10.0; the current blead version of perl. Could you upgrade to the latest blead and see whether the problem persists? Thanks, Abigail
Download (untitled)
application/pgp-signature 189b

Message body not shown because it is not plain text.

Sep 18 08:04:09 2007, abigail@abigail.be wrote: Show quoted text
> On Tue, Sep 18, 2007 at 01:37:17AM -0400, via RT wrote:
> > With Perl 5.9.5, I get warnings when loading Regexp::Common: > > > > $ perl5.9.5 -w -MRegexp::Common -e 1 > > Variable "$s" is not available at (re_eval 23) line 1. > > Variable "$x" is not available at (re_eval 23) line 1. > > > > (This does not happen with Perl 5.8.8.) > > > > "perl -d" shows that this happens at line 292 of > > Regexp::Common::comment. I think the variables in question there should > > be declared inside the "(?{ ... })" assertion within the regular > > expression to solve this issue.
> > > Thank you for your report. I cannot reproduce this with perl 5.10.0; the > current blead version of perl. Could you upgrade to the latest blead and > see whether the problem persists?
I have similar problem with latest perl (RC2 patch 32604). -- Alexandr Ciornii, http://chorny.net
I cannot reproduce this on eiter 5.10.0 nor on 5.10.1. It doesn't show up on any CPAN tester report, so I'm closing this issue.