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,633 views bookmark tags: cgi perl (updated 2079 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 2079 days ago)
Knowledgebase Article 138,233 views tags: cgi perl

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

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

Related Help Content

Understanding the Basics of CGI. (updated 1085 days ago)
Knowledgebase Article 218,761 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 2100 days ago)
Knowledgebase Article 56,875 views tags: perl script

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

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

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

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

Can I add my own CGI scripts? (updated 1089 days ago)
Knowledgebase Article 170,555 views tags: cgi scripts

How do I avoid Outlook IMAP timeout errors? (updated 2100 days ago)
Knowledgebase Article 122,554 views tags: errors imap outlook