Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: path to perl install directory

by samarzone (Pilgrim)
on Dec 14, 2010 at 06:42 UTC ( #877007=note: print w/ replies, xml ) Need Help??


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" ] then c:\path\to\perl1\bin\perl myscript.pl else c:\path\to\perl2\bin\perl myscript.pl fi


Comment on Re: path to perl install directory
Download Code
Replies are listed 'Best First'.
Re^2: path to perl install directory
by srinikar (Novice) on Dec 14, 2010 at 09:20 UTC
    Thanks samarzone!

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://877007]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (3)
As of 2015-09-05 08:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My preferred temperature scale is:










    Results (152 votes), past polls