I use WAMP and Starberry PERL on a windows PC to write PERL CGI scripts. The shebang for a linux based cgi script is usually #!/usr/bin/perl. The Windows shebang for me is #!C:\Strawberry\perl\bin\perl.exe
There are all sorts of ‘fixes’ for this so you can just use the linux one.
I think the following is the easiest solution.
No need to edit apache.conf or edit the rgistry!
I used a windows symbolic link to redirect apache requests for /usr to go to C:\Strawberry\perl
This allows
#!/usr/bin/perl
to look like this
#!C:\Strawberry\perl\bin\perl.exe
to apache.
Run this in an admin cmd prompt:
mklink /D c:\usr C:\Strawberry\perl
