in reply to Where does Apache get its search path
I assume you're talking about mod_perl, since it's easy to change which perl a CGI script is pointed at. With mod_perl, you need to recompile it when you upgrade Perl. It is linked to Perl at a deeper level than just a path, and no amount of @INC magic will fix it.