What is the path to perl?

/usr/bin/perl

You can also find information on paths to other useful programs by logging in to your Fast Name Control Panel and selecting 'Website Diagnostics', from there just select 'Paths and Versions'.

Note that if you are writing CGI scripts in Perl, the first line of the script should be the path to perl, prefixed with '#!', i.e., '#!/usr/bin/perl'.

  • 78 Users Found This Useful
Was this answer helpful?

Related Articles

How do I set permissions on files and scripts?

Doing a CHMOD (changing a file's permissions) is the setting of access privileges for a file....

Is PHP a CGI or Apache module?

PHP runs as a cgi at Fast-name – this is because it is more secure than running it as an Apache...

How do I query a MySQL database from a PHP script?

Use the following outline to connect and begin querying the MySQL server from within your PHP...

What are the correct file permissions for a PHP file?

As a general rule, the permissions of a PHP file should take one of two sets of values, either...

I have created an include file that contains a username and password for a database. How do I prevent people from accessing that file directly?

Protecting PHP IncludesIn order to create a PHP file that is inaccessible from the WWW, please...

Powered by WHMCompleteSolution