> I have just started to play with mod_perl module I found
> a problem with my own modules (many versions of the module with the same
> name)
> I have found related topic dated on 28 Apr 97 (mod_perl and module
> versions),
> but unfortunatelly there was no solution... ;-(
> 
> Lets say I have two directories :
> /cgi-bin/dir1 i  /cgi-bin/dir2
> and in every of them I have module conf.pm (configuration module).
> Of course the first using one of the module causes cache'ying
> it by mod_perl (using Apache::Registry or Apache::PerlRun).
> When I use 'use conf' from the other dir it sees the first included
> by perl_mod conf module (because it is present in global %INC)
> 
> How can I force own namespace (including %INC) in every dir
> (application) ?

Guide is your friend(tm)
http://perl.apache.org/guide/porting.html#Name_collisions_with_Modules_and

> 
> BTW Merry X-mas and happy Y2K ;o)
> 
> Best Regards,
> 
> Waldek Grudzien
> _____________________________
> http://www.uhc.lublin.pl/~waldekg/
> University Health Care
> Lublin/Lubartow, Poland
> tel. +48 81 44 111 88
> ICQ # 20441796
> 
> 



_______________________________________________________________________
Stas Bekman    mailto:[EMAIL PROTECTED]      http://www.stason.org/stas
Perl,CGI,Apache,Linux,Web,Java,PC     http://www.stason.org/stas/TULARC
perl.apache.org    modperl.sourcegarden.org   perlmonth.com    perl.org
single o-> + single o-+ = singlesheaven    http://www.singlesheaven.com

Reply via email to