Doug MacEachern wrote:
> On Sun, 2 Jun 2002, Stas Bekman wrote:
>  
> 
>>Should the same change be applied for -Mblib, which you have used for 
>>demonstrating different @INC in two vhosts? I know it's not same as 
>>-Mlib=, the question is whether -Mblib works on darwin/5.6.0
> 
> 
> nope, seems it was only the case i changed caused breakage, no idea why.
> but now we are testing both -I and -Mblib, which is good.

The good thing about lib.pm is that it removes duplicates if any.

I've changed the docs to say:

As an alternative to using C<use lib> in I<startup.pl> to adjust
C<@INC>, now you can use the command line switch C<-I> to do that:

   PerlSwitches -I/home/stas/modperl

You could also use C<-Mlib=/home/stas/modperl> which is the exact
equivalent as C<use lib>, but it's broken on certain platforms/version
(e.g. Darwin/5.6.0). C<use lib> is removing duplicated entries,
whereas C<-I> does not.
__________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to