If you receive the error message HTTP Error 500 (Internal Server Error) when you call your script, make sure that your program has the following points:
- Please set the execution rights for users (705 or 755).
- The first line in the script is always #!/usr/bin/perl.
- Always insert a backslash (\) before the @ sign (e.g. in email addresses) (unless the @ sign is in a string with single quotation marks). This is necessary because the @ character in Perl is reserved for the names of arrays.