I am new to this list, so sorry if this has been covered already.

Is there any way to set up a shebang line that checks multiple potential
perl locations?  Perl is in different places on different machines I access,
but I would like the scripts to run anywhere, even as CGI.

For instance a sample CGI script that comes with Apache for NT has this:

#!C:/perl/5.6.1/bin/MSWin32-x86-multi-thread/perl.exe

But on other machines this needs to be:

#!/usr/local/bin/perl

TIA,

        -John


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

Reply via email to