HostMonster Web Hosting Help

PERL Coding Errors

Problem:

What are the Most Common PERL Coding Errors?

Solution:

The most common PERL coding errors is using incorrect paths. To be safe, always try to use full path names and make sure that the files being manipulated/accessed are exist and have the proper permissions set.

Other issues deal with un-escaped characters. '@' has a special meaning in perl to signify an array. This coding my $url = "Johnny@Johnnyshouse.com" This is incorrect and needs to be specified as "Johnny@Johnnyshouse.com. Quotation marks need to be escaped this way also.

Knowledgebase Article 134,917 views bookmark tags: cgi perl (updated 2036 days ago)


Was this resource helpful?

Did this resolve your issue?


Please add any other comments or suggestions about this content:





Recommended Help Content

What is the path to PERL (interpreter)? (updated 2036 days ago)
Knowledgebase Article 136,860 views tags: cgi perl

I need help with my CGI script? (updated 2066 days ago)
Knowledgebase Article 115,156 views tags: cgi scripting

Policy Regarding: Scripting, Coding, & Third Party Product Issues (PHP/Perl/RoR/etc.) (updated 26 days ago)
Knowledgebase Article 113,451 views tags: code coding script scripting

Related Help Content

Understanding the Basics of CGI. (updated 1042 days ago)
Knowledgebase Article 214,741 views tags: cgi

We need to execute a Perl script from inside a PHP page and display the results as part of the page. We tried the 'virtual' command but the server returns: blank. (updated 2057 days ago)
Knowledgebase Article 56,319 views tags: perl script

This article will show a few MySQL errors along with explanations as to why they might be occurring. (updated 848 days ago)
Knowledgebase Article 14,125 views tags: errors mysql

What version of Perl are you running? (updated 2021 days ago)
Knowledgebase Article 52,892 views tags: perl

What is CGI? (updated 1042 days ago)
Knowledgebase Article 109,720 views tags: cgi

Does your company have any limit about CGI script use? (updated 1042 days ago)
Knowledgebase Article 130,963 views tags: cgi script

Can I add my own CGI scripts? (updated 1046 days ago)
Knowledgebase Article 168,305 views tags: cgi scripts

How do I avoid Outlook IMAP timeout errors? (updated 2057 days ago)
Knowledgebase Article 120,049 views tags: errors imap outlook