Skip Menu |

This queue is for tickets about the Error-Pure-JSON CPAN distribution.

Report information
The Basics
Id: 102113
Status: resolved
Priority: 0/
Queue: Error-Pure-JSON

People
Owner: SKIM [...] cpan.org
Requestors: SREZIC [...] cpan.org
Cc:
AdminCc:

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



Subject: Unescaped left brace in regex is deprecated
Test suite of 0.05 fails with perl 5.21.x because of a new warning: # Failed test 'no warnings' # at /opt/perl-5.21.8t/lib/site_perl/5.21.8/Test/NoWarnings.pm line 45. # There were 4 warning(s) # Previous test 0 '' # Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/{"error-pure":\[{ <-- HERE "msg":\["Error."\],"stack":\[{"sub":"err","prog":".*?t/data/ex3.pl","args":"\('Error.'\)","class":"main","line":11}\]}\]}/ at t/Error-Pure-JSON-Advance/04-err.t line 49. # at t/Error-Pure-JSON-Advance/04-err.t line 49.
Dne Pá 13.úno.2015 17:15:47, SREZIC napsal(a): Show quoted text
> Test suite of 0.05 fails with perl 5.21.x because of a new warning: > > # Failed test 'no warnings' > # at /opt/perl-5.21.8t/lib/site_perl/5.21.8/Test/NoWarnings.pm line > 45. > # There were 4 warning(s) > # Previous test 0 '' > # Unescaped left brace in regex is deprecated, passed through in > regex; marked by <-- HERE in m/{"error-pure":\[{ <-- HERE > "msg":\["Error."\],"stack":\[{"sub":"err","prog":".*?t/data/ex3.pl","args":"\('Error.'\)","class":"main","line":11}\]}\]}/ > at t/Error-Pure-JSON-Advance/04-err.t line 49. > # at t/Error-Pure-JSON-Advance/04-err.t line 49.
I rewrote it to comparison of decoded JSON in Perl. M.