Re: [mp1] PERL5LIB handled backwards (mod_perl 1.27+)

[prev] [thread] [next] [Date index for 2005/02/08]

From: Stas Bekman
Subject: Re: [mp1] PERL5LIB handled backwards (mod_perl 1.27+)
Date: 00:47 on 08 Feb 2005
[when starting a new thread, please do *not* reply to a previous thread]

Gordon Lack wrote:
>    The Changes file notes:
> 
> 
>>PERL5LIB support now properly unshifts paths into @INC rather than push
> 
> 
> (added in 1.27)
> 
>    While it now does unshift rather than push (so the entries end up at
> the front of @INC, not the back) it does so backwards!
> 
>   eg:
> 
>  PerlPassEnv PERL5LIB /dir1:/dir2:/dir3

You mean, PerlSetEnv, don't you? PerlPassEnv doesn't accept values.

> will end up setting @INC to:
> 
>  /dir3
>  /dir2
>  /dir1
>  <previous-@INC>
> 
> (you can see this via Apache::Status)

Sounds right. Did you forget to attach the patch? :)

Though I'm not sure how sensitive that change is. I mean someone who have 
been relying on the current implementation might get bitten by this change.

        -- 
        __________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:stas@xxxxxx.xxx http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com

(message missing)

Missing symbol: mod_perl2-RC3
Lack Mr G M 16:31 on 06 Jan 2005

Re: Missing symbol: mod_perl2-RC3
Stas Bekman 16:53 on 06 Jan 2005

Re: Missing symbol: mod_perl2-RC3
Gordon Lack 18:42 on 06 Jan 2005

Bug(?) in mod_perl-2 RC3
Gordon Lack 19:16 on 06 Jan 2005

Re: Bug(?) in mod_perl-2 RC3
Stas Bekman 16:36 on 10 Jan 2005

Re: Bug(?) in mod_perl-2 RC3
Gordon Lack 18:04 on 10 Jan 2005

Re: Missing symbol: mod_perl2-RC3
Stas Bekman 16:40 on 10 Jan 2005

Re: Missing symbol: mod_perl2-RC3
Gordon Lack 18:10 on 10 Jan 2005

Re: Missing symbol: mod_perl2-RC3
Gordon Lack 18:31 on 10 Jan 2005

Re: Missing symbol: mod_perl2-RC3
Stas Bekman 21:57 on 10 Jan 2005

Re: Bug(?) in mod_perl-2 RC3
Stas Bekman 22:24 on 10 Jan 2005

Re: [mp1] PERL5LIB handled backwards (mod_perl 1.27+)
Stas Bekman 00:47 on 08 Feb 2005

Generated at 11:30 on 23 Feb 2005 by mariachi v0.52