Beefy Boxes and Bandwidth Generously Provided by pair Networks
Come for the quick hacks, stay for the epiphanies.
 
PerlMonks  

Re: win32 shebang

by mexnix (Pilgrim)
on Aug 08, 2001 at 23:17 UTC ( [id://103178]=note: print w/replies, xml ) Need Help??


in reply to win32 shebang

Also, if you ever decide to do CGI stuff with apache on Win32 (don't we all?), the shebang has to be

#!perl -w
use strict;

So basically (D), with no path info. This is very important because they'll run on the command line all day with

#!/usr/bin/perl -w
use strict;

but not from the web.

Just my 2 cents worth.

__________________________________________________
<moviequote name="Hackers">
The Plague: [...]Well let me explain the New World Order. Governments and corporations need people like you and me. We are samurai. The keyboard cowboys. And all those other people out there who have no idea what's going on are the cattle. Mooo!
</moviequote>

mexnix.perlmonk.org

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (4)
As of 2024-04-20 06:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found