Subject: | Unescaped left brace in regex is illegal here in regex |
Module compilation fails with bleadperl (e.g. perl 5.25.4):
# Failed test 'use Decl;'
# at t/00-load.t line 6.
Bailout called. Further testing stopped:
# Tried to use 'Decl'.
# Error: Unescaped left brace in regex is illegal here in regex; marked by <-- HERE in m/\^foreach (.*) { <-- HERE {/ at /tmpfs/.cpan-build-cpansand/2016083103/Decl-0.11-0/blib/lib/Decl/Semantics/Code.pm line 235.
# Compilation failed in require at /tmpfs/.cpan-build-cpansand/2016083103/Decl-0.11-0/blib/lib/Decl/EventContext.pm line 6.
# BEGIN failed--compilation aborted at /tmpfs/.cpan-build-cpansand/2016083103/Decl-0.11-0/blib/lib/Decl/EventContext.pm line 6.
# Compilation failed in require at /opt/perl-5.25.4/lib/site_perl/5.25.4/base.pm line 100.
# ...propagated at /opt/perl-5.25.4/lib/site_perl/5.25.4/base.pm line 109.
# BEGIN failed--compilation aborted at /tmpfs/.cpan-build-cpansand/2016083103/Decl-0.11-0/blib/lib/Decl.pm line 5.
# Compilation failed in require at t/00-load.t line 6.
# BEGIN failed--compilation aborted at t/00-load.t line 6.
# Testing Decl , Perl 5.025004, /bbbike/perl-5.25.4/bin/perl5.25.4
# Looks like you failed 1 test of 1.
FAILED--Further testing stopped.
Makefile:946: recipe for target 'test_dynamic' failed
make: *** [test_dynamic] Error 1