Skip Menu |
 

This queue is for tickets about the D CPAN distribution.

Report information
The Basics
Id: 131215
Status: new
Priority: 0/
Queue: D

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

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



Subject: Unescaped left brace in regex is illegal here in regex
Download (untitled) / with headers
text/plain 446b
t/test.t fails with perl 5.26.x (but not with older or newer perls): ... Unescaped left brace in regex is illegal here in regex; marked by <-- HERE in m/^sub { <-- HERE "DUMMY" }\sat\st/test\.t\sline 156./ at t/test.t line 163. # Tests were run but no plan was declared and done_testing() was not seen. # Looks like your test exited with 29 just after 13. t/test.t .. Dubious, test returned 29 (wstat 7424, 0x1d00) All 13 subtests passed ...
Download (untitled) / with headers
text/plain 955b
On 2019-12-22 11:03:16, SREZIC wrote: Show quoted text
> t/test.t fails with perl 5.26.x (but not with older or newer perls): > > ... > Unescaped left brace in regex is illegal here in regex; marked by <-- > HERE in m/^sub { <-- HERE "DUMMY" }\sat\st/test\.t\sline 156./ at > t/test.t line 163. > # Tests were run but no plan was declared and done_testing() was not > seen. > # Looks like your test exited with 29 just after 13. > t/test.t .. > Dubious, test returned 29 (wstat 7424, 0x1d00) > All 13 subtests passed > ...
... but with newer perls there's still a warning: 5.28.x: Unescaped left brace in regex is deprecated here (and will be fatal in Perl 5.30), passed through in regex; marked by <-- HERE in m/^sub { <-- HERE "DUMMY" }\sat\st/test\.t\sline 156./ at t/test.t line 163. 5.30.x + 5.31.x: Unescaped left brace in regex is passed through in regex; marked by <-- HERE in m/^sub { <-- HERE "DUMMY" }\sat\st/test\.t\sline 156./ at t/test.t line 163.


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.