http://www.perlmonks.org?node_id=834158


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?

Replies are listed 'Best First'.
Re^4: Which Win32 distribution of Perl should I use: ActiveState, Strawberry, or both?
by Lady_Aleena (Priest) 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