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 Mail::Abuse::Processor::Mailer;'
# at t/00-load.t line 35.
# Tried to use 'Mail::Abuse::Processor::Mailer'.
# Error: Unescaped left brace in regex is illegal here in regex; marked by <-- HERE in m/^\s*&{ <-- HERE ANTILOOP}:\s/ at /tmpfs/.cpan-build-cpansand/2016090718/Mail-Abuse-1.026-0/blib/lib/Mail/Abuse/Processor/Mailer.pm line 231.
# Compilation failed in require at t/00-load.t line 35.
# BEGIN failed--compilation aborted at t/00-load.t line 35.
# Failed test 'use Mail::Abuse::Processor::ArchiveDBI;'
# at t/00-load.t line 35.
# Tried to use 'Mail::Abuse::Processor::ArchiveDBI'.
# Error: Unescaped left brace in regex is illegal here in regex; marked by <-- HERE in m/^\$ENV{ <-- HERE ([^}]+)}$/ at /tmpfs/.cpan-build-cpansand/2016090718/Mail-Abuse-1.026-0/blib/lib/Mail/Abuse/Processor/ArchiveDBI.pm line 200.
# Compilation failed in require at t/00-load.t line 35.
# BEGIN failed--compilation aborted at t/00-load.t line 35.
# Looks like you failed 2 tests of 23.
t/00-load.t .....
Dubious, test returned 2 (wstat 512, 0x200)
Failed 2/23 subtests