Q. What version of Perl are running?
Posted by: Paul0 in CGI, Perl, Pre-Sales, Programming LanquagesAns. On our Plesk and cPanel servers the current version of Perl is perl-5.8.5
Archive for the “Perl” CategoryQ. What version of Perl are running?Posted by: Paul0 in CGI, Perl, Pre-Sales, Programming LanquagesAns. On our Plesk and cPanel servers the current version of Perl is perl-5.8.5 Q. I am getting an “Internal Server Error” when I try and run a perl/cgi script.Posted by: Paul0 in CGI, MySQL, Perl, Programming LanquagesThere are two most probable causes. 1. if you upload your script using FTP, you must use ASCII as opposed to binary mode. 2. Windows as a hangover from its DOS days ends text lines with a carriage returns / newline pair where as Linux (based on Unix) ends text with just a newline character. Compatability problems usually arise then when you edit your Perl/CGI script in notepad and upload to our Unix based servers. We would therefore recommend a replacement for Notepad called TextPad. This will convert your (DOS formatted script) to one correctly formatted to Unix. Ans: The path to perl on all our hosting servers is:
Therefore all your perl/cgi scripts must start:
|
Weycrest Knowledgebase is Digg proof thanks to caching by WP Super Cache!