HostGator Web Hosting Help

PERL Path

Problem:

What is the path to PERL (interpreter)?

Solution:

The perl path is the very first line in every .cgi or .pl file. The path to the perl interpreter will be either:
            #!/usr/bin/perl
            
            or 
            
            #!/usr/local/bin/perl
            
Either of which will work.


Was this resource helpful?

Did this resolve your issue?


Please add any other comments or suggestions about this content:





Recommended Help Content

I need help with my CGI script?
Knowledgebase Article 250,040 views tags: cgi scripting

What version of Perl are you running?
Knowledgebase Article 138,792 views tags: perl

Understanding the Basics of CGI.
Knowledgebase Article 381,773 views tags: cgi

Related Help Content

Can I add my own CGI scripts?
Knowledgebase Article 334,239 views tags: cgi scripts

Does your company have any limit about CGI script use?
Knowledgebase Article 270,140 views tags: cgi script

What is CGI?
Knowledgebase Article 239,653 views tags: cgi

What is the path to Ruby?
Knowledgebase Article 171,100 views tags: path ruby

Why am I Getting File Not Found When Executing My CGI?
Knowledgebase Article 283,537 views tags: cgi

How to run CGI scripts for Addon domains.
Knowledgebase Article 232,209 views tags: cgi htaccess

Trying to install Joomla manually and getting a session.save_path is un-writeable error.
Knowledgebase Article 179,303 views tags: message path problem save session

Policy Regarding: Scripting, Coding, & Third Party Product Issues (PHP/Perl/RoR/etc.)
Knowledgebase Article 263,027 views tags: code coding script scripting