Is anyone here gifted in Perl scripts?
Perl scripts
Discussion in 'Computers & Technology Forum' started by Bro Ben, Sep 27, 2002.
-
I've gotten a perl book for a gift, but never a perl script.
Whatcha need? -
I just need a perl script that i have installed on my website. I have the script but am having problems installing it.
-
You will need to know the location of your web host's perl executable... do you have this information?
Eric -
Yes, I have that. This is the error I get when I try to run the script.
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request. -
This simply means the script is not running properly (which you knew), for one of the following reasons:
1. Error in code
2. Server misconfiguration
I am guessing 1. Perl is great, and at the same time, annoying. Do you have the 'strict' qualifier on? If you do, you must predeclare all variables (I.e. my $var1;) before using it.
Also, you can run the perl script from the command line before you install it on the server. Simply change the mode of the script to executable (chmod +x script.pl) and execute it (./script.pl). This should help in debugging.
If you want to post some of the code, we can take a look at it.
jason
PS. I happen to also live in CT. Originally from Southbury (by way of Thomaston). I now live in Bristol (work in New Haven). How about you? -
Jason
if you are in need of work (paid) contact me! I have 2 scripts that need work, using MySql and CGI
(monopro links database and a calendar script)
also have quite a few more!
Linda -
When dealing with CGI Scripts make sure that you are "Chmoding" the files correctly.
-Bill -