Your skill will accomplish what the force of many cannot |
|
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?? |
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:\.
In Section
Seekers of Perl Wisdom
|
|