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 137,223 views bookmark tags: cgi perl (updated 2138 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 2138 days ago)
Knowledgebase Article 139,283 views tags: cgi perl

I need help with my CGI script? (updated 2167 days ago)
Knowledgebase Article 117,036 views tags: cgi scripting

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

Related Help Content

Understanding the Basics of CGI. (updated 1144 days ago)
Knowledgebase Article 225,583 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 2158 days ago)
Knowledgebase Article 57,662 views tags: perl script

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

What version of Perl are you running? (updated 2123 days ago)
Knowledgebase Article 53,883 views tags: perl

What is CGI? (updated 1144 days ago)
Knowledgebase Article 111,240 views tags: cgi

Does your company have any limit about CGI script use? (updated 1143 days ago)
Knowledgebase Article 133,683 views tags: cgi script

Can I add my own CGI scripts? (updated 1147 days ago)
Knowledgebase Article 172,392 views tags: cgi scripts

How do I avoid Outlook IMAP timeout errors? (updated 2159 days ago)
Knowledgebase Article 124,781 views tags: errors imap outlook