in reply to path to perl install directory
One of your path is a linux file-system path while another is windows one. Where are you running this script?
(Assuming both are windows path) In general this is not possible (as per my understanding) but if you are concerned with a specific script you can write a batch file to choose and execute the correct Perl. Windows equivalent of following can do what I mean
if [ -e "c:\path\to\perl1" ]