develooper Front page | perl.perl5.porters | Postings from December 2008

Re: [perl.git] branch blead, updated. GitLive-blead-80-g54ad55c

Thread Previous
From:
H.Merijn Brand
Date:
December 26, 2008 03:08
Subject:
Re: [perl.git] branch blead, updated. GitLive-blead-80-g54ad55c
Message ID:
20081226120807.15a08250@pc09.procura.nl
On Fri, 26 Dec 2008 10:38:27 +0000, Nicholas Clark <nick@ccl4.org>
wrote:

> On Fri, Dec 26, 2008 at 12:24:59AM +0100, Rafael Garcia-Suarez wrote:
> 
> >     [perl #6665] Different behavior using the -Idir option on the command line and inside a perl script
> >     
> >     Adds the -Idir at the beginning of @INC.
> >     
> >     (Plus a test by rgs -- check that -I does not add directories at the end
> >     of the @INC array anymore)
> > 
> > M	perl.c
> > M	t/run/switchI.t
> 
> This patch does more than it says. It also moves '.' to the start of @INC:
> 
> (use Symbol picks up Encode::Symbol from . rather than the Symbol.pm from lib)
> 
> I guess we're missing regression tests to make sure that '.' is last in @INC.
> 
> Also, right now I'm not sure what part of this change needs undoing to fix '.'
> in @INC and hence the build.

Do not unconditionally `force' '.' to the end. I think that if someone
explicitly sets $PERL5LIB to .:/what/ever, . shouls at least be/stay
in front of /what/ever

-- 
H.Merijn Brand  http://tux.nl      Perl Monger  http://amsterdam.pm.org/
using & porting perl 5.6.2, 5.8.x, 5.10.x, 5.11.x on HP-UX 10.20, 11.00,
11.11, 11.23, and 11.31, SuSE 10.1, 10.3, and 11.0, AIX 5.2, and Cygwin.
http://mirrors.develooper.com/hpux/           http://www.test-smoke.org/
http://qa.perl.org      http://www.goldmark.org/jeff/stupid-disclaimers/

Thread Previous


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About