the script are being called like /usr/local/bin/perl5.8.0/bin/perl -w /proj/xpto.pl
I need the "/usr/local/bin/perl5.8.0/bin/perl" The usual path is for a older version in this case. The perl path is in a database that I don't see and I don't want to pass the perl path to the script. That will be the answer if anything else works. Marcos -----Original Message----- From: Paul Kraus [mailto:[EMAIL PROTECTED] Sent: Tuesday, August 26, 2003 4:19 PM To: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: RE: Full path to the perl intrepter 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]