develooper Front page | perl.perl5.porters | Postings from April 2016

Re: With custom prefix, still uses global metadata stash

Thread Previous
Ivan Pozdeev via perl5-porters
April 14, 2016 11:54
Re: With custom prefix, still uses global metadata stash
Message ID:
The PERL5_* environment variables set by CPAN with local::lib turned out 
to be the culprit.
Since there's only one environment, they can't cope with multiple Perl 
installations, naturally.

On 12.04.2016 4:58, Andreas Koenig wrote:
>>>>>> On Tue, 12 Apr 2016 01:06:59 +0300, Ivan Pozdeev via perl5-porters <> said:
>    > First notice (very likely a "horrible bug where people have hardcoded
>    > version checks"):
>    > I've installed the release with a custom prefix. However,
>    > tries to use the global metadata directory at ~/.cpan .
>    > As a consequence, it mistakes about what modules are installed.
>    > This didn't happen with 5.23.* releases.
> I think to understand what the bug is I need a better description of (1)
> what you do, exactly, (2) what you expect, and (3) what you get.
> Together, the three descriptions should put me in a position to
> reproduce the behaviour you encounter. As it stands, I fear I cannot
> help, so please, more context.
> Thanks,


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