Are these four sites running on the same box?
You have to re-jigger your modules so they don't have to know which host they are working for, or make SiteConfig smart enough to load the right things based on which host it's dealing with. SiteConfig might hold a hash of several configs and through an appropriate interface, return the values for the right host.
This is a basic mod_perl trap: you can't rely on Perl to clean up dependencies because it doesn't stop running. The design things you could ignore previously, perhaps setting global variables in a module and use-ing it, don't work anymore. We can't guess any more than that without knowing something about SiteConfig.pm
This problem is solvable, though, without copying the libraries a bunch of times. It might take a little work, but that work is better than making the situation even worse. :)
In reply to Re: mod_perl and multiple installations of the same code
by brian_d_foy
in thread mod_perl and multiple installations of the same code
by saberworks
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |