Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses

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

by FoncÚ (Scribe)
on Jul 18, 2002 at 19:22 UTC ( #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?

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

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (5)
As of 2023-03-26 02:30 GMT
Find Nodes?
    Voting Booth?
    Which type of climate do you prefer to live in?

    Results (63 votes). Check out past polls.