|Perl Monk, Perl Meditation|
Re: Perl & Personal Web Serverby dvergin (Monsignor)
|on Mar 02, 2001 at 05:03 UTC||Need Help??|
PWS can run Perl cgi scripts.
How does PWS know where Perl is?
and add a new entry: .pl = C:\Perl\bin\Perl %s %s
...or wherever Perl lives on your machine. I have seen the following entry recommended instead but I have not tried it: .pl = C:\Perl\bin\PerlIS.dll
In addition, I have read of a method that involves modifying the hash-bang line but I don't use that because I'd just have to change it before uploading to my server.
The other thing you need to do is set up a cgi directory in PWS. Bring up the PWS admin window, click on Advanced, and then on Add... In the directory you set up, specify the Execute option. (You can have as many Execute directories as you want.)
That should do it. Any more questions, just ask.