Perl 5.26 and the . in INC issue where modules won't install

[email protected] ("Martin J. Evans") Thu, 1 Nov 2018 15:28:07 +0000
Newsgroups perl.module-authors
Message-ID <[email protected]>
Hi Module Authors,

Increasingly I am having problems with modules in Perl 5.26 and later which won't install because of the . not in @INC issue. Quite often it is not even the module I want to use but a requirement

e.g., Cache::Memory requires File::NFSLock and File::NFSLock won't install on 5.26 because of @INC change.

In the case of File::NFSLock, a patch was submitted back in Feb 2017 (https://rt.cpan.org/Public/Bug/Display.html?id=120088) but it has still not been applied. Other than ask to take over maintainership of File::NFSLock (and a number of other modules with the same problem) what can I do to get this fixed? Is there a way for a non maintainer to apply the patch and release a new version?

The extra reason this is a pain is we are using Carton and so I believe to supply a hand crafted fixed module I'd have to have a web server somewhere, where I could place the patched module.

Thanks

Martin