develooper Front page | perl.module-authors | Postings from November 2018

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

Thread Previous | Thread Next
Diab Jerius
November 1, 2018 17:20
Re: Perl 5.26 and the . in INC issue where modules won't install
Message ID:
One of the (few?) benefits of using cpan over cpanm is that you can use the
distroprefs [1] functionality to automatically apply local patches when
installing from CPAN.  Mixing cpan and cpanm makes for an awkward workflow,
but I don't know of a cpanm equivalent.


On Thu, Nov 1, 2018 at 12:53 PM Martin J. Evans <>

> On 01/11/2018 16:23, Karen Etheridge wrote:
> You can install these modules again by setting PERL_USE_UNSAFE_INC=1 in
> your environment while installing.
> Yes, thanks. However, I did not name all of my problems and only one of
> them was @INC issue. The other problem is modules which won't build for
> other reasons that need patches not applied e.g. WWW::Curl.
> You can also install locally patched modules with carton by specifying a '
> file:///' path in cpanfile:
>     requires 'Foo::Bar', '0.123', url => '
> file:///local/path/Foo-Bar-0.123.tar.gz';
> This is will do nicely for all my issues. Thank you. I was only aware of
> dist/url.
> Martin

Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About