Thanks for that, but CPAN seems to indicate that Apache::PerlVINC will have a performance hit (which I need to avoid if possible).
would the following work? 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; or should that be use lib "/home/virtual/site17/fst/var/www/perl"; ie missing the directory name that corresponds with the module name 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; A little find and replacing wouldn't kill me ;) Cheers Angie on 17/11/03 Perrin Harkins said: >On Mon, 2003-11-17 at 12:40, angie ahl wrote: >> So I have one set of modules in >> /home/virtual/site17/fst/var/www/perl/vert >> >> and another in >> /home/virtual/site29/fst/var/www/perl/vert >> >> And those modules have different database information (but tables >inside >> are the same). > >Sounds like you're having namespace collisions. You can't run two >different modules with the same package name in the same interpreter. >Take a look at Apache::PerlVINC for a workaround, or run two separate >apaches. > >- Perrin > > -- Reporting bugs: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist/modperl.html