You are Here: FAQ ->Scripting and Programming Languages->Perl->Article #6


WebHosting 5.0 This article is for 1&1 Linux WebHosting only.


Error 500 (Internal Server error) when executing Perl scripts.



Please check the following:

1. Set the implementing rights for "user" (705 or 755).
2. The first line in the Script must read #! /usr/bin/perl
3. Please add a backslash before '@'-indications (e.g. in E-Mail addresses)
This is necessary, since the '@'-indication is reserved by arrays in Perl for the
names.
4. Make sure you have the following line in your script to run them on a browser.
"Content-type: text/plain\n\n";

Finally use our Perl Syntax Checker by following the FAQ:
Perl Syntax Checker


Print Article
How useful was this article?
(From 5 = Very Useful to 1 = Not useful at all):
1 2 3 4 5