develooper Front page | perl.perl5.porters | Postings from March 2013

[perl #116823] Regexp::Grammars broken since 5.17.1

Thread Previous
From:
Andrew Rodland via RT
Date:
March 3, 2013 06:10
Subject:
[perl #116823] Regexp::Grammars broken since 5.17.1
Message ID:
rt-3.6.HEAD-28177-1362282134-1058.116823-15-0@perl.org
On Sat Mar 02 19:26:20 2013, arodland wrote:
> I distilled it down as far as I could in the attached file. Here's a 
> snippet of "perlbrew exec perl rgtest.pl":
> 
> perl-5.14.1
> ==========
> ok 1 - It matches
> ok 2 - Code ran
> 1..2
> 
> 
> perl-5.16.2
> ==========
> ok 1 - It matches
> ok 2 - Code ran
> 1..2
> 
> 
> perl-5.16.2@ss
> ==========
> ok 1 - It matches
> ok 2 - Code ran
> 1..2
> 
> 
> perl-5.17.0
> ==========
> ok 1 - It matches
> ok 2 - Code ran
> 1..2
> 
> 
> perl-5.17.1
> ==========
> Eval-group not allowed at runtime, use re 'eval' in regex m/(?{ 
> $RGP::Success = 1 })foo/ at rgtest.pl line 27.
> 
> 
> perl-5.17.8
> ==========
> Eval-group not allowed at runtime, use re 'eval' in regex m/(?{ 
> $RGP::Success = 1 })foo/ at rgtest.pl line 27.

Interestingly, Adding "use re 'eval'" doesn't suppress the error, no 
matter which package I add it to (even if I add it in all three).

---
via perlbug:  queue: perl5 status: open
https://rt.perl.org:443/rt3/Ticket/Display.html?id=116823

Thread Previous


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About