Subject: | Constants from lexical variables potentially modified elsewhere are no longer permitted |
The module's testsuite started to fail with perl 5.31.5:
...
Constants from lexical variables potentially modified elsewhere are no longer permitted at /home/cpansand/.cpan/build/2019110522/bitflag-0.01-4/blib/lib/bitflag.pm line 50.
BEGIN failed--compilation aborted at t/TestCase_i.pm line 30.
Compilation failed in require at t/02_usecase.t line 2.
BEGIN failed--compilation aborted at t/02_usecase.t line 2.
# Looks like your test exited with 255 before it could output anything.
t/02_usecase.t ..
Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 13/13 subtests
...
I think this perldelta entry is related to this:
https://metacpan.org/pod/release/SHAY/perl-5.31.5/pod/perldelta.pod#Modifiable-variables-are-no-longer-permitted-in-constants