How to specify which version of perl to use on CentOS

I am running CentOS 5.4 which only has version 5.8 of perl available by default, and I have a program which requires perl 5.10, so I compiled perl 5.10 on CentOS. How do I specify which perl I want to run the program with because the perl command uses 5.8 by default.

5
задан DanielBryan 21 January 2011 в 21:34
поделиться