in reply to Which Win32 distribution of Perl should I use: ActiveState, Strawberry, or both?
I'm confused. Windows doesn't use shebang lines to find perl so why would you need to change them?
Unless you're also using Cygwin. In which case: don't do that!
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.
Re^2: Which Win32 distribution of Perl should I use: ActiveState, Strawberry, or both?
by Lady_Aleena (Priest) on Apr 11, 2010 at 21:51 UTC
|
I need accurate shebang lines for my scripts to properly load in a browser. Without a shebang or a bad shebang, I get an internal server error when I go to load the script.
Have a nice day!
Lady Aleena
| [reply] [d/l] |
|
Ah! In that case, I'd use Junction to create a symlink that points your current shebang line at the new location of whichever perl installation you want to use with Apache.
This has the added advantage that you can switch between installations, or to a new installation, at any time, using a single command.
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.
| [reply] |
|
| [reply] |
|
| [reply] |
|
| [reply] |
Re^2: Which Win32 distribution of Perl should I use: ActiveState, Strawberry, or both?
by PeterPeiGuo (Hermit) on Apr 11, 2010 at 22:12 UTC
|
| [reply] |
Re^2: Which Win32 distribution of Perl should I use: ActiveState, Strawberry, or both?
by frd1963 (Initiate) on May 10, 2010 at 12:11 UTC
|
True, windows doesn't use Shebangs, but Apache is what needs to decide how to run a cgi script, and it does use Shebangs. | [reply] |
|
|