What should I use for a Perl script's shebang line?

后端 未结 8 1857
北荒
北荒 2020-12-02 22:19

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         


        
8条回答
  •  情书的邮戳
    2020-12-02 22:53

    If you are running CGI via Apache on Windows, the SHEBANG IS USED. You will need the fullpath to perl.

提交回复
热议问题