What should I use for a Perl script's shebang line?
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/09
0:18 UTC
Read the original article
Hit count: 345
Which of these is better or faster to use as the shebang line for a Perl script?
#! perl
#! perl.exe
#! fullpath/perl(/perl.exe)
#! partialpath/perl(/perl.exe)
And, when using #!perl
, when it works on a particular system, how do I find out in the script which perl interpreter I'm using so I can put that one 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