perl

Status
Not open for further replies.

BrentNewland

New Member
Messages
1
Reaction score
0
Points
0
I registered a free account last night, and I am also having Perl problems - error 500. I am using the simplest scripts possible for testing, a Hello World script.

It seems to me that perl for new accounts might be broken.
 

descalzo

Grim Squeaker
Community Support
Messages
9,373
Reaction score
326
Points
83
Both posters:
1. Sure you have permissions set to 0755?
2. If you wrote the code on a Windows machine, make sure you uploaded in ASCII (text) mode and that the software (ie Notepad, Notepad++ ) you used to write the script does not add extra characters.
3. Don't forget to print the header before any content:

print "Content-type: text/html\n\n";

4. Is the script in cgi-bin ?
5. Although it does not help with most 500 errors, I always add:

use CGI::Carp qw(fatalsToBrowser);

which displays most other errors.

getrich2 -- you are on lotus and perl is working on lotus.
 
Last edited:
Status
Not open for further replies.
Top