I hope this is helpful
I asked a #! question a while back and got
a lot of good feed back.

You might also want to look into using Cygwin's port of perl
and config Apache to use that instead of ActiveState.

In reply to Re: How do I...Fool Windows into using *nix formatted shebang by rbc
in thread How do I...Fool Windows into using *nix formatted shebang by S_Shrum

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":