On Fri, 7 Sep 2001, raptor wrote:

> | * the issue with closures: Should we try to solve it or keep on
> |   explaining the problem? You input is welcome. If you think we should
> |   solve it please suggest how.
> ]- solve it .... i don't know how too :")
> | * probably need to try to handle the problem with libs collisions as
> |   explained here:
> | http://perl.apache.org/guide/porting.html#Name_collisions_with_Modules_and
> | Not sure yet how to do that.
> ]- partial solution ... what if when the module is compiled the sub-name to
> include the VirtualHost-ServerName, this way modules on diff host will not
> collide..

That won't really work, since it's possible that some file required from
.pl will require some other file. Now think about eval that build require
calls from strings.

However it won't be a problem with vh's at all, assuming that you assign a
different interpreter pools for different vh's. The problem is with two
.pl files in the same interpreter calling 'require "foo-lib.pl"' and the
latter doesn't declare package. See the link above that describes the
problem in details.

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



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to