http://www.perlmonks.org?node_id=289470


in reply to Re: Production / Development on the same server.
in thread Production / Development on the same server.

This is what I do. what I want is to make scripts in /devel use modules in the devel modules dir, and scripts in /use_me_baby use modules in the production dir, without having to state the directory name, just the module version. I want the appropriate module to be automatically selected by perl, but require and use always select the first they see. I thought Acme::No would do the trick, but it just croaks when version is wrong.

Any way to do this?