>2.  Most UNIX shells do recognize the #! line and will call whatever
>program
>is given there to interpret the file.  This works the same whether you are
>using Perl, Bourne Shell, C Shell, Bash, env, or some other program known
>only to you.


Apache on Win32 platforms does the same thing.  Given the usefulness of perl+DBI for 
CGI applications, and the prevalence of Apache on even Windows boxes, having a 
correctly formed shebang line is important on any platform.

I don't think that having #!e:\perl\bin\perl.exe -w as the first line in my scripts is 
anywhere near as foolish as thinking it's safe to assume that /usr/bin/perl is the 
location of the perl interpreter on a *NIX box.




Jason..

Reply via email to