Skip Menu |

This queue is for tickets about the local-lib CPAN distribution.

Report information
The Basics
Id: 67871
Status: resolved
Priority: 0/
Queue: local-lib

People
Owner: Nobody in particular
Requestors: dolmen [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 1.008004
Fixed in: 1.008008



Subject: do not add arch path to PERL5LIB: perl does it since 5.8.0
Since perl 5.8.0, when $dir is in PERL5LIB, perl unshifts both $dir/$Config{archname} (only if it exists) and $dir into @INC. local::lib puts both $dir and $dir/Config{archname} in PERL5LIB. The result is that when we add $dir with local::lib, $dir/$Config{archname} appears twice in @INC (only if $dir/$Config{archname} exists). The problem is visible with "perl -V" Proposed fix: only add $dir to PERL5LIB as the lower perl version supported is 5.8.1. -- Olivier Mengué - http://search.cpan.org/~dolmen/ http://github.com/dolmen/
Subject: [PATCH] do not add arch path to PERL5LIB: perl does it since 5.8.0
Le 2011-04-30 21:35:34, DOLMEN a écrit : Show quoted text
> Proposed fix: only add $dir to PERL5LIB as the lower perl version > supported is 5.8.1.
The fix is in my 'fix/RT67871-no-arch-in-PERL5LIB' branch on my GitHub repo at git://github.com/dolmen/p5-local-lib.git This branch is based on my previous refactoring work in RT#67870 (branch 'feature/RT67870-_env_list_value'). -- Olivier Mengué - http://search.cpan.org/~dolmen/ http://github.com/dolmen/
Per discussion on IRC, decided to pursue a different avenue for this. Awaiting patches.
Le 2011-05-13 17:08:52, APEIRON a écrit : Show quoted text
> Per discussion on IRC, decided to pursue a different avenue for this. > Awaiting patches.
Looks like my patch has been merged and released in local-lib-1.008005, without even being mentioned in the changelog. -- Olivier Mengué - http://perlresume.org/DOLMEN
This has been fixed for a while, and is listed in the change log. Marking resolved.