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
If you're developing in Unix using Perl and you use "perlbrew" to easily switch between different versions of Perl, then the "#!/usr/bin/env perl" shebang line works well.
I originally had the first 2 characters in the shebang line reversed. Just fixed/edited that.
If you are running CGI via Apache on Windows, the SHEBANG IS USED. You will need the fullpath to perl.