# New Ticket Created by James E Keenan # Please include the string: [perl #132743] # in the subject line of all future correspondence about this issue. # <URL: https://rt.perl.org/Ticket/Display.html?id=132743 > Today ether requested that I test Catalyst::Runtime against Perl 5 blead. I did so using 'cpanm'. Installation failed due to a failure in prerequisite Getopt::Long::Descriptive, for which I filed a pull request (https://github.com/rjbs/Getopt-Long-Descriptive/pull/25). So far, so good. But then I looked at the error message I was getting and found something puzzling. The error message starts out "Unescaped left brace in regex is deprecated here" -- a message we're very familiar with from the last dev cycle. But then it goes on to say, "and will be fatal in Perl 5.32". ##### $ make test PERL_DL_NONLAZY=1 "/home/jkeenan/testing/blead/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/00-report-prereqs.t .. # [snip ] # t/00-report-prereqs.t .. ok t/descriptive.t ........ Unescaped left brace in regex is deprecated here (and will be fatal in Perl 5.32), passed through in regex; marked by <-- HERE in m/(?:[:=][\d\w\+]+[%@]?({ <-- HERE \d*,\d*})?|[!+])$/ at /home/jkeenan/.cpanm/work/1516405683.6225/Getopt-Long-Descriptive-0.100/blib/lib/Getopt/Long/Descriptive.pm line 307. t/descriptive.t ........ ok t/shortcircuit.t ....... Unescaped left brace in regex is deprecated here (and will be fatal in Perl 5.32), passed through in regex; marked by <-- HERE in m/(?:[:=][\d\w\+]+[%@]?({ <-- HERE \d*,\d*})?|[!+])$/ at /home/jkeenan/.cpanm/work/1516405683.6225/Getopt-Long-Descriptive-0.100/blib/lib/Getopt/Long/Descriptive.pm line 307. t/shortcircuit.t ....... 1/? # Failed test 'no (unexpected) warnings (via done_testing)' # at t/shortcircuit.t line 84. # Looks like you failed 1 test of 11. t/shortcircuit.t ....... Dubious, test returned 1 (wstat 256, 0x100) Failed 1/11 subtests t/zzz-check-breaks.t ... ok ##### What's puzzling is that this usage is documented to become fatal in Perl *5.30* -- not 5.32. I couldn't find any place in the source code where 5.32 was associated with this deprecation. I was so puzzled that I installed a later blead -- only to get the same result! Does anyone know what is going on here? Thank you very much. Jim KeenanThread Previous | Thread Next