Doug MacEachern wrote:
> On Tue, 9 Apr 2002, Stas Bekman wrote:
>  
> 
>>that doesn't solve the problem for those expecting @INC to be 
>>un-modified behind the scenes.
> 
> 
> one of us is missing something.
> my most recent suggestion was to *change* any instance of '.' in @INC to 
> cwd, not to add anything.  so lets say @INC was:
>     /usr/lib/perl5/5.6.1/i386-linux
>     /usr/lib/perl5/5.6.1
>     /usr/lib/perl5/site_perl/5.6.1/i386-linux
>     /usr/lib/perl5/site_perl/5.6.1
>     /usr/lib/perl5/site_perl
>     .
> 
> the script name is /usr/local/apache2/perl-scripts/hello.pl, @INC becomes:
> 
>     /usr/lib/perl5/5.6.1/i386-linux
>     /usr/lib/perl5/5.6.1
>     /usr/lib/perl5/site_perl/5.6.1/i386-linux
>     /usr/lib/perl5/site_perl/5.6.1
>     /usr/lib/perl5/site_perl
>     /usr/local/apache2/perl-scripts

you are correct. the two are equivalent in respect to the 1.x registry 
behavior if chdir is NOP.


__________________________________________________________________
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