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 SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Need to Run a Perl Script in IIS 4.0. Need the Basics!

Status
Not open for further replies.

beech

MIS
Apr 25, 2001
2
0
0
US
We have a website that we are going to host that has a simple PERL script that cleans up a CDL file before it gets BCP'ed into a SQL database. Problem is we do not run any PERL and have very little experience with it. What would be the minimum we need to do to get that script to run?
I have downloaded and installed ActivePerl from ActiveState and they have some basic directions but I coule use a little help.

ANY HELP WOULD BE APPRECIATED!!!!!!!!!!!!!!!!!


THANKS,

Mike Beecher
 
this may be better answered in the CGI forum, but...

1)be sure that the #! line at the top of the script points to the exact location of perl.exe
(#!d:/activestate/bin/perl.exe)

2)be sure that the file extension of the script is registered with windows to call perl.exe (View->Folder Options->File Types in the 'My Computer' window, i think)

3)be sure that the webserver is configured properly. i'm not versed with IIS, so i can't help you here.

4)be sure the script is in the right directory

also, is this run as a cgi script (enter a uri into a browser to call it), or is it called from some other program (like another cgi script)? this might make a difference... "If you think you're too small to make a difference, try spending a night in a closed tent with a mosquito."
 
Stillflame:

Thanks for that info. We'll try it. If you or anyone else can add to that I would be appreciative. Do you think I should post this in CGI Forum?

Beech
 
only if you can't get it to work with my suggestions. "If you think you're too small to make a difference, try spending a night in a closed tent with a mosquito."
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top