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


in reply to Specify particular Perl path to a module during installation

AFAIK, as long as the PATH points to the right PERL, the rest should follow on naturally. You might want to set PERL5LIB too.

You shouldn't revert the path; any program that uses your 5.16.1 version should have the correct environment to run in.

Your program can of course check which version it is running by means of a use 5.16.1;

Someone correct me if I've got any of the above wrong :-)

A Monk aims to give answers to those who have none, and to learn from those who know more.
  • Comment on Re: Specify particular Perl path to a module during installation