Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: Using Perl, some Windows version and #!usr/bin/perl, WHY?

by jZed (Prior)
on Mar 21, 2004 at 01:02 UTC ( [id://338388]=note: print w/replies, xml ) Need Help??


in reply to Using Perl, some Windows version and #!usr/bin/perl, WHY?

What's the sense of a shebang when it points to a directory that can't exist on your system?

Why can't it exist? My perl executable is in c:\usr\local\bin, which can be written as /usr/local/bin for programs that understand unix-style paths. Apache, for example, is such a program and it can find perl in the correct directory based on the shebang. Since my apache executable is also on the c: drive it assumes that root / is the same as c:\.

  • Comment on Re: Using Perl, some Windows version and #!usr/bin/perl, WHY?

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others contemplating the Monastery: (7)
As of 2024-04-19 10:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found