"Ian D. Stewart" wrote:
>
> This is one area where the UNIX shebang excells. No need to create new
> extensions or use the fullpath on the command line. Just specify the
> executable you want to use in the script itself.
>
> I'm not sure, but you may want to check if bash from CYGWIN supports
> this...
Yes. The cygwin bash prompt will scan the first line of potential
scripts to see if they contain the shebang line. Apache also
(independently) supports use of the shebang line, but won't support
cygwin's symlinks. For example, I'd like run this command:
{tim /usr/local/bin}$ ln -s /perl/bin/perl perl
So that I can use:
#!/usr/local/bin/perl
in my scripts so I don't have to change them when I upload them to one
of our hosts. (awc.net) If I try to make a hard link with cygwin, it
just copies the file (plus it loses the contents of @INC); I guess the
FAT system won't support multiple hard links to the same file?
Anyway, if anyone has any input to this problem, I'd like to hear it. I
can't change the installation directory of perl because I have to
satisfy (read: dupe) too many hosts right now.
TIA,
--
-Tim Hammerquist <[EMAIL PROTECTED]>
For every problem, there is one solution
which is simple, neat and wrong.
- H. L. Mencken
---
You are currently subscribed to perl-win32-users as: [archive@jab.org]
To unsubscribe, forward this message to
[EMAIL PROTECTED]
For non-automated Mailing List support, send email to
[EMAIL PROTECTED]