It is a very good question about the way that mod_perl-1 creates @INC. I would additionally point out the "." that in fact transforms into "/" for each mod_perl handler. I would appreciate if somebody can direct me to appropriate docs concerning the main idea under the hood to create @INC this way (and how it could be changed around the patch). It is closely related to one problem I had about a month ago with the "shaded" modules on one of my servers...
Thanks, Slava On Wed, 2003-11-12 at 16:28, Stas Bekman wrote: > Anybody has an idea why mp1 build does: > > PERL5LIB = "PERL5LIB=/path/to/mod_perl-1.29/lib", > > (see the top-level Makefile). > > I can't see how is it going to work: > > PERL5LIB="PERL5LIB=/tmp" perl-5.8.1 -le 'print join "\n", @INC' > PERL5LIB=/tmp > /home/stas/perl/5.8.1/lib/5.8.1/i686-linux > /home/stas/perl/5.8.1/lib/5.8.1 > /home/stas/perl/5.8.1/lib/site_perl/5.8.1/i686-linux > /home/stas/perl/5.8.1/lib/site_perl/5.8.1 > /home/stas/perl/5.8.1/lib/site_perl > . > > it doesn't really add /tmp to @INC. Do I miss something? Looks like some > ancient workaround for some problems... > > __________________________________________________________________ > 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 > -- Reporting bugs: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist/modperl.html