Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re^3: Which Win32 distribution of Perl should I use: ActiveState, Strawberry, or both?

by rubasov (Friar)
on Apr 11, 2010 at 23:18 UTC ( #834158=note: print w/ replies, xml ) Need Help??


in reply to Re^2: Which Win32 distribution of Perl should I use: ActiveState, Strawberry, or both?
in thread Which Win32 distribution of Perl should I use: ActiveState, Strawberry, or both?

I have never used Apache on Windows, but if I recall right what I've read, Apache can be set up to ignore the shebang and use the registry instead to find the interpreter. That way you can omit the shebang or even better use a Unix-compatible shebang. If you do that Windows, Apache on Windows and Unices all will be happy with your scripts without any change in the shebang line. So for example you can upload your scripts to a standard Linux hosting without change (if the other parts are already portable).

Have a look at the ScriptInterpreterSource Apache configuration directive.

Probably you also need to set the corresponding registry key if it does not exist already.

I hope this helps.


Comment on Re^3: Which Win32 distribution of Perl should I use: ActiveState, Strawberry, or both?
Re^4: Which Win32 distribution of Perl should I use: ActiveState, Strawberry, or both?
by Lady_Aleena (Deacon) on Apr 12, 2010 at 17:56 UTC

    That hit the spot in getting my scripts loaded into my browser. Thanks!

    Have a nice day!
    Lady Aleena

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (6)
As of 2014-10-26 06:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (152 votes), past polls