A Perl script file should be in UNIX text format, not DOS. Line breaks are encoded differently in the two formats, therefore running script files stored in the DOS format may result in syntax errors.
Most Popular Articles
Verification of Perl scripts having correct permissions set.
Check to see if the permissions on the Perl script file are appropriate. Which file permissions...
Execute the script from the command line
It can be challenging to try and debug a Perl script using a web browser. For instance, file...
Checking of web server error logs
Only Perl scripts that are executed as CGI scripts via a user's web browser are covered by this...