Doug MacEachern wrote:
> On Thu, 20 Sep 2001, Stas Bekman wrote:
>
>
>>gozer wants to use PERL5LIB set from the shell
>>
>>- this patch respects the previous value of PERL5LIB which was
>> originally overriden
>>
>
> +1 on respecting, but isn't this missing:
>
>
>>+ my $path = join $Config{path_sep}, shift->test_inc();
>>+ # fixup PERL5LIB respecting any previous user settings
>>+ $ENV{PERL5LIB} = exists $ENV{PERL5LIB}
>>+ ? join $Config{path_sep}, $path
>>
> -> , $ENV{PERL5LIB}
>
>>+ : $path;
>>
>
> ?
>
> whatever works is fine with me.
of course :) I thought gozer has tested my patch. We have horrible
connection to US today, so I had a short time window to send it, didn't
have a chance to test it.
Also Vivek has mentioned that PERL5LIB may be ignored with -T. Did this
change under 5.7.x?
_____________________________________________________________________
Stas Bekman JAm_pH -- Just Another mod_perl Hacker
http://stason.org/ mod_perl Guide http://perl.apache.org/guide
mailto:[EMAIL PROTECTED] http://apachetoday.com http://eXtropia.com/
http://singlesheaven.com http://perl.apache.org http://perlmonth.com/
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]