Subject: | Tests fail with perl 5.22.4-RC1 and 5.24.2-RC1 |
t/parser.t fails with the current RC versions of the 5.22 and 5.24 track:
...
Base class package "t::Test" is not empty but "t/Test.pm" exists in the current directory.
To help avoid security issues, base.pm now refuses to load optional modules
from the current working directory when it is the last entry in @INC.
If your software worked on previous versions of Perl, the best solution
is to use FindBin to detect the path properly and to add that path to
@INC. As a last resort, you can re-enable looking in the current working
directory by adding "use lib '.'" to your code.
at t/Test/Parser.pm line 5.
BEGIN failed--compilation aborted at t/Test/Parser.pm line 5.
Compilation failed in require at t/parser.t line 3.
BEGIN failed--compilation aborted at t/parser.t line 3.
t/parser.t ......
Dubious, test returned 255 (wstat 65280, 0xff00)
No subtests run
...
Possibly related perldelta entries:
https://perl5.git.perl.org/perl.git/blob/maint-5.24:/pod/perldelta.pod#l17 and https://perl5.git.perl.org/perl.git/blob/maint-5.24:/pod/perldelta.pod#l42