Knowledgebase : Technical > Information On Perl
Woollybear.com is currently using Perl version 5.x.
Yes. Once a new build of Perl has been deemed as stable versus experimental, Woollybear.com will promptly upgrade to this version of Perl.
Below are all of the current absolute paths to Perl on all webservers: /usr/bin/perl
Often times, permissions are set very leniently in order to avoid any permissions problem. This is not a good idea. Your Perl scripts should have the appropriate permissions depending on the function of that particular script. Under normal conditions, you...
Your Perl scripts can have the extension .pl or .cgi. However, Perl scripts that are going to produce output to the web (world readable) would use the extension .cgi. Perl scripts that are only meant to be executed by yourself via the command line or even...
You should always upload your Perl scripts in ASCII mode via FTP. If you upload your scripts in binary mode, the scripts will not work and you will get an "Internal Server Error: Premature End of Script Headers" error (500 Internal Server Error). It is ve...
Issue the command "perl " from the command line, where "scriptname" is the relative or absolute path to the Perl script. If problems with the execution of the script are encountered, they will be reported on the terminal by the Perl Debugger.
Yes. In fact, a cgi-bin is already configured for you in the "public_html/cgi-bin/" directory. This is the only location where cgi scripts should be installed for use.
Yes. This is the ONLY location where cgi scripts will execute. Place all of your cgi scripts in the "public_html/cgi-bin" directory.
SSH. You will get much more information about the cause of the problem through the command-line than through the web. Below is an example: Case I: We execute the Perl script through the web and get the following error: "Internal Server Error: Premature ...
Below is a list of steps to go through to troubleshoot any problematic Perl scripts. These are the same troubleshooting methods employed by the technical support repetitive at Woollybear.com:Gather Information about the Problem Execute the Perl script thr...
The "-d" flag will invoke the Perl source debugger and should be used when you have tried all other troubleshooting techniques and are still confused. This program is very good with identifying syntax errors. Through the command line, issue "perl -d " to...
It depends. When a Perl script encounters an "Internal Server Error" for whatever reason or a "Forbidden" message when executed via the web, useful information is logged to your error_log, located in your logs directory. When you execute Perl scripts th...
Yes. Because of its widespread popularity, there are many places on-line that have valuable resources for troubleshooting Perl scripts. Below are some of the most useful resources: http://www.google.com/ (search engine) http://www.webdeveloper.com/catego...