I am a beginner in Perl. How I am going to test my Perl scripts to ensure that they are working as expected? Do I need some kind of a webserver? If I do, what server should I use?
Printable View
I am a beginner in Perl. How I am going to test my Perl scripts to ensure that they are working as expected? Do I need some kind of a webserver? If I do, what server should I use?
You can do a quick syntax check at the command prompt or shell with:
perl -c myscript.pl
To run a script:
perl myscript.pl
If you're going to use the scripts for CGI, you'll need a web server. I had no problems running Perl on IIS/Win2K or Apache/Red Hat Linux.
If you don't have NT/2000, get Apache and run it on 9x (www.apache.org). www.activestate.com has ActivePerl which is a doddle to install.
What version of the Apache HTTP server should I download?Quote:
Originally posted by parksie
If you don't have NT/2000, get Apache and run it on 9x (www.apache.org). www.activestate.com has ActivePerl which is a doddle to install.
The latest for Win32 which can be found here: http://httpd.apache.org/docs/windows.html (1.3.20 at the moment)
I wouldn't suggest using the beta just yet ;)
Will the Apache server work with my Windows 98 operating system?
Yes it will, although, there are some security holes that aren't present in the *Nix version. But that's to be expected with such an inferior product(I'm talkin' 'bout Windows, not Apache ;))
I run Apache on my win98se and since I am not online at teh time I don't worry about security, since I am the only one using it. once I get my scripts how I like them and they "work" then I quit Apache and MySql and then get on line to upload them to the site. Takes away a lot of headaches doing it this way and I don't have to worry about filling up my log files on my ISP server.
I should have thought about doing this a long time ago, :)
exactly which file from apache's site do I download? I clicked on apache server and the download link and the page displays several files. What is the filename of the apache server that I have to download?
hey val04, where did you get your copy of pearl ?
ok,i have the apache server and perl, but i cant even figure out how to run a single cgi script properly, can anyone help please ?
http://www.vbforums.com/showthread.php?threadid=91751
follow along
or read this
http://www.lameindustries.org/tutori...s/apache.shtml
thanx i'll try that quickly, thanx a lot scoutt :)
no prob. if you run into problems start a new thread and I'll help you out