Subject: | '.' is no longer in @INC |
Build may fail for newer perls:
...
Output from '/opt/perl-5.28.0/bin/perl Makefile.PL INSTALLDIRS=site':
Can't locate inc/Module/Package.pm in @INC (you may need to install the inc::Module::Package module) (@INC contains: /var/tmp/cpansmoker-11577/2019012816/CPAN-Reporter-lib-JJ98 /opt/perl-5.28.0/lib/site_perl/5.28.0/x86_64-linux /opt/perl-5.28.0/lib/site_perl/5.28.0 /opt/perl-5.28.0/lib/5.28.0/x86_64-linux /opt/perl-5.28.0/lib/5.28.0) at Makefile.PL line 1.
BEGIN failed--compilation aborted at Makefile.PL line 1.
...
Probably the fix is to add 'use lib ".";' on top of Makefile.PL.