Title: unable to prepend directories in front of @INC (MP2, Windows, Kobes distribution)

Hi everybody,

I'm unable to prepend directories in front of @INC while starting Apache/ModPerl (using Randy Kobes distribution for Windows, Embedded Perl version v5.8.7 for Apache/2.0.54, ModPerl 2)

I tried the following :
  
   use lib "/my/private/lib" in startup.pl

   unshift @INC, "/my/private/lib" in startup.pl

   PerlSetEnv PERL5LIB "/my/private/lib" in perl.conf

In all cases, "/my/private/lib" ends up in second position in @INC, after "C:/perl/site/lib". I need it to go BEFORE.

Anybody has a hint ? Thanks in advance, L. Dami


Reply via email to