Jean-Michel Hiver wrote:

>>>Wouldn't that affect mod_perl's advantage of sharing the modules? I
>>>mean, would everything be in it's separate namespace and loaded only
>>>once for every module as it is with use?
>>>
> 
> I don't know about you guys, but I don't feel that sharing the modules
> is that much of an advantage. 


It is. It can save you a lot of memory. Check the numbers in the 
performance and scenario chapters of the mod_perl guide.

> If you write large scripts that actually
> use modules of your own which can be different depending on the version
> of the script, it means that you cannot run different versions of the
> script on the same box, which IMHO is not very convenient...


But this has nothing to do with sharing. You've this problem when you 
share or not. modperl-2.0 solves this problem. In 1.x you have to use 
various workarounds, some of the are explained in the guide.


> Do you know if there's a way to avoid this?
> Cheers,
> 



-- 


_____________________________________________________________________
Stas Bekman             JAm_pH      --   Just Another mod_perl Hacker
http://stason.org/      mod_perl Guide   http://perl.apache.org/guide
mailto:[EMAIL PROTECTED]  http://ticketmaster.com http://apacheweek.com
http://singlesheaven.com http://perl.apache.org http://perlmonth.com/

Reply via email to