|XP is just a number|
How do I...Fool Windows into using *nix formatted shebangby S_Shrum (Pilgrim)
|on May 18, 2002 at 08:17 UTC||Need Help??|
S_Shrum has asked for the
wisdom of the Perl Monks concerning the following question:
Okay, here's the idea (I don't know if this is possible but hey, what the heck):
I'm running Apache on Windows XP but my site is hosted on a machine running Linux. In order for my scripts to work on my XP box, my shebang line looks like:
However, when I post my scripts to the host machine, the shebang line needs to be:
My question is: Is there a way to mimic/alias/redirect/*whatever* a *nix path to a user-defined Windows path? That way I could set up my machine to handle the *nix-based shebang line...sorta like:
"/usr/bin/perl = c:/Perl/bin/perl"
I'm getting tired of switching shebang lines around all the time in my scripts between here (my pc) and there (host pc).