I stumbled through this myself, so here are the things I stubbed MY toes on:

First, if you're running on a desktop OS (NT Workstation), you'll need
Personal Web Server or IIS loaded, or Apache if you prefer.  My PWS said it
was loaded, but my Perl scripts would not generate CGI (they opened a DOS
window and sent their output there) until I removed PWS, rebooted, and
re-installed it.  

Second, you'll also need to place your Perl scripts in the script directory
of Inetpub (IIS/PWS), or wherever Apache's cgi-bin directory is pointed.

Until I figured out my PWS problem, I was having to run Perl from the
command line, redirect the output, and then run the generated HTML in order
to test my output.  It works, but ugly does not BEGIN {} to describe it.

Hope that helps.  Perl is awesome, but sometimes getting it to do what you
expect in MS-land is, um, (interesting?).

> -----Original Message-----
> From: Adam Carson [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, June 19, 2001 9:24 AM
> To: [EMAIL PROTECTED]
> Subject: Running CGI's locally
> 
> 
> I am trying to create a simple form in HTML for tech support 
> requests for the county I work for.  I just started even 
> looking at Perl a few days ago, so a lot of this is 
> confusing.  In HTML, I have problems sending forms because my 
> office uses Groupwise, which is not receiving data from the 
> mailto action.  I thought CGI's would be more efficient and 
> more versatile, so I started reading up on them.  I found 
> some public domain Perl files to try, but whenever I try to 
> load them in my browsers (IE5.5 and Netscape4.7) the browser 
> will not execute the script, and instead tries to download it 
> as file or display the script as plain text.  I am running NT4.0.
> 

Reply via email to