We don't bite newbies here... much | |
PerlMonks |
Re: #!/usr/bin/perl -wby demerphq (Chancellor) |
on Jul 18, 2002 at 19:11 UTC ( [id://182985]=note: print w/replies, xml ) | Need Help?? |
They never complain because Windows doesnt do shebang file type association. Instead it uses the file extension and the registry. The only part that is relevent is the "-w" part which turns on warnings. My bet is that you are using a relatively recent version of perl (probably an Activestate build) and accordingly you can lose that as well and use the more powerful instead. Incidentlly its sort of good form when posting to include a shebang line that should work on most standard *NIX boxes. #!/usr/bin/perl If only to make our *NIX brethren's lives a bit easier... Although i have to admit I usually dont out of forgetfulness. Oh yeah, its possible that if you are doing CGI stuff that the webserver does know about shebangs, in which case it probably makes sense to include it. HTH
Yves / DeMerphq
In Section
Seekers of Perl Wisdom
|
|