|
-
Jun 26th, 2001, 05:56 AM
#1
Thread Starter
Member
How to test Perl scripts
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?
-
Jun 26th, 2001, 06:42 AM
#2
Black Cat
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.
Josh
Get these: Mozilla Opera OpenBSD
I have books for sale: "MCSD in a Nutshell" and "VB Distributed Exam Cram" - PM me for details. Will also trade for a decent ATX Pentium 2 MB/CPU/RAM combo.
-
Jun 26th, 2001, 07:02 AM
#3
Monday Morning Lunatic
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.
I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
-- Linus Torvalds
-
Jul 1st, 2001, 09:02 AM
#4
Thread Starter
Member
Apache server
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.
What version of the Apache HTTP server should I download?
-
Jul 1st, 2001, 09:52 AM
#5
Monday Morning Lunatic
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
I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
-- Linus Torvalds
-
Jul 2nd, 2001, 01:44 AM
#6
Thread Starter
Member
Apache server
Will the Apache server work with my Windows 98 operating system?
-
Jul 2nd, 2001, 02:31 AM
#7
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 )
-
Jul 2nd, 2001, 07:44 PM
#8
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,
-
Jul 3rd, 2001, 02:34 AM
#9
Thread Starter
Member
downloading apache server
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?
-
Jul 3rd, 2001, 02:46 AM
#10
-
Jul 14th, 2001, 07:19 AM
#11
Fanatic Member
hey val04, where did you get your copy of pearl ?
-
Jul 14th, 2001, 12:19 PM
#12
-
Aug 10th, 2001, 05:49 PM
#13
Fanatic Member
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 ?
-
Aug 10th, 2001, 05:53 PM
#14
-
Aug 10th, 2001, 05:56 PM
#15
Fanatic Member
thanx i'll try that quickly, thanx a lot scoutt
-
Aug 10th, 2001, 06:07 PM
#16
no prob. if you run into problems start a new thread and I'll help you out
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|