Subject: | Eval-group not allowed at runtime |
Tests fail with perl 5.17.1 and newer (see http://matrix.cpantesters.org/?dist=Acme-Code-FreedomFighter%203.1416 ):
# Failed test 'use Acme::Code::FreedomFighter;'
# at t/Acme-Code-FreedomFighter.t line 3.
# Tried to use 'Acme::Code::FreedomFighter'.
# Error: Eval-group not allowed at runtime, use re 'eval' in regex m/(?{eval"if (exists(\$INC\{'Acme/Code/Police.pm'\})) \{\$INC\{'strict.pm'\} = 1; \}else\{*CORE::GLOBAL::unlink = sub \.../ at /home/cpansand/.cpan/build/2016091012/Acme-Code-FreedomFighter-3.1416-1Rbc2p/blib/lib/Acme/Code/FreedomFighter.pm line 51.
# Compilation failed in require at t/Acme-Code-FreedomFighter.t line 3.
# BEGIN failed--compilation aborted at t/Acme-Code-FreedomFighter.t line 3.
# Looks like you failed 1 test of 1.
t/Acme-Code-FreedomFighter.t ..
Dubious, test returned 1 (wstat 256, 0x100)
Failed 1/1 subtests