What is the better Shebang Line to use ?

Posted by Anonymous on Stack Overflow See other posts from Stack Overflow or by Anonymous
Published on 2010-05-07T22:07:22Z Indexed on 2010/05/07 22:18 UTC
Read the original article Hit count: 173

Filed under:
|


What is better/faster to use:

#! perl

or

#! perl.exe

or

#! fullpath/perl(/perl.exe)

or

#! partialpath/perl(/perl.exe)

?


And, when using "#! perl", when it works on a particular system, what is the print() for showing the full path to perl.exe, that could be included into the Shebang Line ?


And, if using a /path/path/perl, are "*" or "..." allowed to be used for the folders ?


© Stack Overflow or respective owner

Related posts about perl

Related posts about shebang