On Mon, 2003-11-17 at 13:47, angie ahl wrote:
> Thanks for that, but CPAN seems to indicate that Apache::PerlVINC will
> have a performance hit (which I need to avoid if possible).

It's really for development use.

> if the 2 sites call a different directory name eg:
> 
> site 1:
> 
> use lib "/home/virtual/site17/fst/var/www/perl/verttemp";
> use verttemp::SiteMap;
> 
> site 2:
> 
> use lib "/home/virtual/site17/fst/var/www/perl/vert";
> use vert::SiteMap;

That will work, if you change the package names inside every file.

> Have I undestood that concept correctly? Could I still call it via
> 
> my $page = SiteMap->new;
> 
> or would I need to say
> 
> my $page = vert::SiteMap->new;

The latter.

> A little find and replacing wouldn't kill me ;)

It seems simper to just run two instances of apache.  You can just start
the same binary twice, with different conf files.

- Perrin


-- 
Reporting bugs: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html

Reply via email to