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 136,861 views bookmark tags: cgi perl (updated 2104 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 2104 days ago)
Knowledgebase Article 138,570 views tags: cgi perl

I need help with my CGI script? (updated 2135 days ago)
Knowledgebase Article 116,635 views tags: cgi scripting

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

Related Help Content

Understanding the Basics of CGI. (updated 1111 days ago)
Knowledgebase Article 220,196 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 2125 days ago)
Knowledgebase Article 57,194 views tags: perl script

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

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

What is CGI? (updated 1110 days ago)
Knowledgebase Article 110,862 views tags: cgi

Does your company have any limit about CGI script use? (updated 1110 days ago)
Knowledgebase Article 132,987 views tags: cgi script

Can I add my own CGI scripts? (updated 1115 days ago)
Knowledgebase Article 171,263 views tags: cgi scripts

How do I avoid Outlook IMAP timeout errors? (updated 2125 days ago)
Knowledgebase Article 123,413 views tags: errors imap outlook