Subject: | Unescaped left brace in regex is deprecated here |
The test suite fails with perl 5.26.0:
...
Output from '/usr/bin/make test':
PERL_DL_NONLAZY=1 "/usr/perl5.26.0p/bin/perl5.26.0" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
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/^{ <-- HERE "YOU":"STINK"}$/ at t/d-oh.t line 23.
Unescaped left brace in regex is illegal here in regex; marked by <-- HERE in m/^\[{ <-- HERE "YOU":"STINK"},"I STINK"\]$/ at t/d-oh.t line 24.
t/d-oh.t ..
Dubious, test returned 255 (wstat 65280, 0xff00)
No subtests run
...
Interestingly it does not fail with 5.28.0-RC2, but here still a warning is emitted:
...
Output from '/usr/bin/make test':
PERL_DL_NONLAZY=1 "/bbbike/perl-5.28.0-RC2/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t
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/^{ <-- HERE "YOU":"STINK"}$/ at t/d-oh.t line 23.
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/^\[{ <-- HERE "YOU":"STINK"},"I STINK"\]$/ at t/d-oh.t line 24.
t/d-oh.t .. ok
All tests successful.
...