Subject: | Can't locate Makefile.PL in @INC |
Running Build.PL with newer perls (e.g. 5.26.1) because "." is not anymore part of @INC:
$ perl5.26.1 Build.PL
Can't locate Makefile.PL in @INC (@INC contains: /usr/perl5.26.1p/lib/site_perl/5.26.1/amd64-freebsd /usr/perl5.26.1p/lib/site_perl/5.26.1 /usr/perl5.26.1p/lib/5.26.1/amd64-freebsd /usr/perl5.26.1p/lib/5.26.1) at Build.PL line 1.
Fix is to add something like 'use lib "."' on top of the file. Or maybe remove Build.PL completely.