Skip Menu |

This queue is for tickets about the XML-Twig CPAN distribution.

Report information
The Basics
Id: 105702
Status: open
Priority: 0/
Queue: XML-Twig

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

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



Subject: Unescaped left brace in regex is deprecated
When running under perl 5.22.0, then the speedup scripts emit a series of "Unescaped left brace in regex is deprecated" warnings: $ make "/usr/perl5.22.0p/bin/perl" speedup Twig_pm.slow > Twig.pm perl version is 5.022000 Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/(\$[a-z_]+(?:\[\d\])?|\$t(?:wig)?->root|\$t(?:wig)?->twig_current|\$t(?:wig)?->{ <-- HERE '?twig_root'?}|\$t(?:wig)?->{'?twig_current'?})->set_gi\(\s*(PCDATA|CDATA|PI|COMMENT|ENT)\s*\)/ at speedup line 41, <> line 1. Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/(\$[a-z_]+(?:\[\d\])?|\$t(?:wig)?->root|\$t(?:wig)?->twig_current|\$t(?:wig)?->{'?twig_root'?}|\$t(?:wig)?->{ <-- HERE '?twig_current'?})->set_gi\(\s*(PCDATA|CDATA|PI|COMMENT|ENT)\s*\)/ at speedup line 41, <> line 1. ...
Subject: Re: [rt.cpan.org #105702] Unescaped left brace in regex is deprecated
Date: Tue, 7 Jul 2015 09:16:40 +0200
To: bug-XML-Twig [...] rt.cpan.org
From: Michel Rodriguez <xmltwig [...] gmail.com>
OK, thanks, I'll fix this this week. On Tue, Jul 7, 2015 at 7:14 AM, Slaven_Rezic via RT < bug-XML-Twig@rt.cpan.org> wrote: Show quoted text
> Tue Jul 07 01:14:03 2015: Request 105702 was acted upon. > Transaction: Ticket created by SREZIC > Queue: XML-Twig > Subject: Unescaped left brace in regex is deprecated > Broken in: 3.49 > Severity: (no value) > Owner: Nobody > Requestors: SREZIC@cpan.org > Status: new > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=105702 > > > > When running under perl 5.22.0, then the speedup scripts emit a series of > "Unescaped left brace in regex is deprecated" warnings: > > $ make > "/usr/perl5.22.0p/bin/perl" speedup Twig_pm.slow > Twig.pm > perl version is 5.022000 > Unescaped left brace in regex is deprecated, passed through in regex; > marked by <-- HERE in > m/(\$[a-z_]+(?:\[\d\])?|\$t(?:wig)?->root|\$t(?:wig)?->twig_current|\$t(?:wig)?->{ > <-- HERE > '?twig_root'?}|\$t(?:wig)?->{'?twig_current'?})->set_gi\(\s*(PCDATA|CDATA|PI|COMMENT|ENT)\s*\)/ > at speedup line 41, <> line 1. > Unescaped left brace in regex is deprecated, passed through in regex; > marked by <-- HERE in > m/(\$[a-z_]+(?:\[\d\])?|\$t(?:wig)?->root|\$t(?:wig)?->twig_current|\$t(?:wig)?->{'?twig_root'?}|\$t(?:wig)?->{ > <-- HERE '?twig_current'?})->set_gi\(\s*(PCDATA|CDATA|PI|COMMENT|ENT)\s*\)/ > at speedup line 41, <> line 1. > ... > >
On Tue Jul 07 03:16:56 2015, xmltwig@gmail.com wrote: Show quoted text
> OK, thanks, I'll fix this this week. > > On Tue, Jul 7, 2015 at 7:14 AM, Slaven_Rezic via RT < > bug-XML-Twig@rt.cpan.org> wrote: >
> > Tue Jul 07 01:14:03 2015: Request 105702 was acted upon. > > Transaction: Ticket created by SREZIC > > Queue: XML-Twig > > Subject: Unescaped left brace in regex is deprecated > > Broken in: 3.49 > > Severity: (no value) > > Owner: Nobody > > Requestors: SREZIC@cpan.org > > Status: new > > Ticket <URL: https://rt.cpan.org/Ticket/Display.html?id=105702 > > > > > > > When running under perl 5.22.0, then the speedup scripts emit a > > series of > > "Unescaped left brace in regex is deprecated" warnings: > > > > $ make > > "/usr/perl5.22.0p/bin/perl" speedup Twig_pm.slow > Twig.pm > > perl version is 5.022000 > > Unescaped left brace in regex is deprecated, passed through in regex; > > marked by <-- HERE in > > m/(\$[a-z_]+(?:\[\d\])?|\$t(?:wig)?->root|\$t(?:wig)?-
> > >twig_current|\$t(?:wig)?->{
> > <-- HERE > > '?twig_root'?}|\$t(?:wig)?->{'?twig_current'?})-
> > >set_gi\(\s*(PCDATA|CDATA|PI|COMMENT|ENT)\s*\)/
> > at speedup line 41, <> line 1. > > Unescaped left brace in regex is deprecated, passed through in regex; > > marked by <-- HERE in > > m/(\$[a-z_]+(?:\[\d\])?|\$t(?:wig)?->root|\$t(?:wig)?-
> > >twig_current|\$t(?:wig)?->{'?twig_root'?}|\$t(?:wig)?->{
> > <-- HERE '?twig_current'?})-
> > >set_gi\(\s*(PCDATA|CDATA|PI|COMMENT|ENT)\s*\)/
> > at speedup line 41, <> line 1. > > ... > > > >
Fix here: https://github.com/mirod/xmltwig/pull/20/files Cheers
RT-Send-CC: xmltwig [...] gmail.com
On 2015-07-07 01:14:03, SREZIC wrote: Show quoted text
> When running under perl 5.22.0, then the speedup scripts emit a series > of "Unescaped left brace in regex is deprecated" warnings: > > $ make > "/usr/perl5.22.0p/bin/perl" speedup Twig_pm.slow > Twig.pm > perl version is 5.022000 > Unescaped left brace in regex is deprecated, passed through in regex; > marked by <-- HERE in m/(\$[a-z_]+(?:\[\d\])?|\$t(?:wig)?-
> >root|\$t(?:wig)?->twig_current|\$t(?:wig)?->{ <-- HERE
> '?twig_root'?}|\$t(?:wig)?->{'?twig_current'?})-
> >set_gi\(\s*(PCDATA|CDATA|PI|COMMENT|ENT)\s*\)/ at speedup line 41, <>
> line 1. > Unescaped left brace in regex is deprecated, passed through in regex; > marked by <-- HERE in m/(\$[a-z_]+(?:\[\d\])?|\$t(?:wig)?-
> >root|\$t(?:wig)?->twig_current|\$t(?:wig)?- > >{'?twig_root'?}|\$t(?:wig)?->{ <-- HERE '?twig_current'?})- > >set_gi\(\s*(PCDATA|CDATA|PI|COMMENT|ENT)\s*\)/ at speedup line 41, <>
> line 1. > ...
This is now a hard error in perl 5.25.1: Output from '/usr/bin/make': "/bbbike/perl-5.25.1/bin/perl5.25.1" speedup Twig_pm.slow > Twig.pm perl version is 5.025001 Unescaped left brace in regex is illegal in regex; marked by <-- HERE in m/(\$[a-z_]+(?:\[\d\])?|\$t(?:wig)?->root|\$t(?:wig)?->twig_current|\$t(?:wig)?->{ <-- HERE '?twig_root'?}|\$t(?:wig)?->{'?twig_current'?})->set_gi\(\s*(PCDATA|CDATA|PI|COMMENT|ENT)\s*\)/ at speedup line 41, <> line 1. Makefile:283: recipe for target 'Twig.pm' failed make: *** [Twig.pm] Error 25
RT-Send-CC: xmltwig [...] gmail.com
On 2016-05-21 04:20:32, SREZIC wrote: Show quoted text
> On 2015-07-07 01:14:03, SREZIC wrote:
> > When running under perl 5.22.0, then the speedup scripts emit a > > series > > of "Unescaped left brace in regex is deprecated" warnings: > > > > $ make > > "/usr/perl5.22.0p/bin/perl" speedup Twig_pm.slow > Twig.pm > > perl version is 5.022000 > > Unescaped left brace in regex is deprecated, passed through in regex; > > marked by <-- HERE in m/(\$[a-z_]+(?:\[\d\])?|\$t(?:wig)?-
> > > root|\$t(?:wig)?->twig_current|\$t(?:wig)?->{ <-- HERE
> > '?twig_root'?}|\$t(?:wig)?->{'?twig_current'?})-
> > > set_gi\(\s*(PCDATA|CDATA|PI|COMMENT|ENT)\s*\)/ at speedup line 41, > > > <>
> > line 1. > > Unescaped left brace in regex is deprecated, passed through in regex; > > marked by <-- HERE in m/(\$[a-z_]+(?:\[\d\])?|\$t(?:wig)?-
> > > root|\$t(?:wig)?->twig_current|\$t(?:wig)?- > > > {'?twig_root'?}|\$t(?:wig)?->{ <-- HERE '?twig_current'?})- > > > set_gi\(\s*(PCDATA|CDATA|PI|COMMENT|ENT)\s*\)/ at speedup line 41, > > > <>
> > line 1. > > ...
> > This is now a hard error in perl 5.25.1: > > Output from '/usr/bin/make': > > "/bbbike/perl-5.25.1/bin/perl5.25.1" speedup Twig_pm.slow > Twig.pm > perl version is 5.025001 > Unescaped left brace in regex is illegal in regex; marked by <-- HERE > in m/(\$[a-z_]+(?:\[\d\])?|\$t(?:wig)?->root|\$t(?:wig)?-
> >twig_current|\$t(?:wig)?->{ <-- HERE '?twig_root'?}|\$t(?:wig)?- > >{'?twig_current'?})->set_gi\(\s*(PCDATA|CDATA|PI|COMMENT|ENT)\s*\)/
> at speedup line 41, <> line 1. > Makefile:283: recipe for target 'Twig.pm' failed > make: *** [Twig.pm] Error 25
CPAN.pm users may use the following distroprefs file to workaround the problem: https://github.com/eserte/srezic-cpan-distroprefs/blob/master/XML-Twig.yml