If its in a UNIX env then just look at the she bang line :)

#!/usr/bin/perl 

Then you could go to usr bin and see where perl is linked to.

If you have scripts that have a different line then just use perl to
search and replace with the correct line.

Paul

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]

Sent: Tuesday, August 26, 2003 10:13 AM
To: [EMAIL PROTECTED]
Subject: Full path to the perl intrepter


I'm in a very old project and my scripts are calling other scripts. I
have 3 or 4 different perl version in the server. I need to call the
sub-scripts with the some version of perl that I'm using in the caller
script.

How to find the full path to the perl interpter that is being used?

Thanks
MArcos

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to