Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Path for Win32 Perl CGI script...

Status
Not open for further replies.
Feb 14, 2002
88
JP
I'm testing out a script, and all I have at my disposal at the moment is a dreaded Windows machine. The script will eventually end up on a Unix/Linux, but in the meantime I'd like to test it out.

Apparantly, the XXX.cgi script isn't finding the Perl compiler on my system (I testing locally). I found the executable in c:\perl\bin\perl.exe

So, instead of:
#!/usr/local/bin/perl - I used
#!C:\Perl\bin\perl.exe
However, it's still not parsing the data. The above line is printed in the browser.

Sorry for this totally goofy problem and lack of knowledge on my part... it's truly stumped me, and apparantly too inane for it to be mentioned in any tutorials. :)
 
So what should we do to test cgi scripts in Windows. I rather than using Perl ,used C to write my CGI script.

vijay.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top