in reply to what instead of #!/usr/bin/perl
You need to create an assosiation. To do this, open your 'internet service manager'. Right click on your web site and choose properties. Click on the 'Home Directory' tab. Next, click on the 'Configuration..." button. In the new window click the 'Add' button. In the 'Executable' field put the path to your perl install (mine is d:\perl\bin\perl.exe) and add two ' %s' after it like this 'd:\perl\bin\perl.exe %s %s'. Under the 'Extension' field put '.pl'. Click 'OK', 'OK', 'OK', then stop and start your web site. Now pws (or iis) will use perl for any files that end with '.pl'.
|