Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: #!/usr/bin/perl -w

by Foncé (Scribe)
on Jul 18, 2002 at 19:22 UTC ( [id://182993]=note: print w/replies, xml ) Need Help??


in reply to #!/usr/bin/perl -w

If you use #!c:\Perl\bin\perl.exe -w as your shebang line, you may very well get errors when running CGI under a webserver, at least, I've found it to do that from time to time.

You'll find that (to my knowledge) all Windows boxes run perl the same regardless of where you point the shebang line, but with a few different compilers (like ActivePerl), it will take the -w to give you warnings. If that doesn't work, you should utilize the use warnings; line.

Hope that helps.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://182993]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others having a coffee break in the Monastery: (4)
As of 2024-03-28 22:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found