a module with two different pathes ( usiing symlinks for instance) does mod_perl knows it's the same code and avoids compiling it twice ?
My idea is to use symlinks to load the same set of modules but with a different config file depending on wich virtual host I am, and try to avoid using too much mem this way.