Frequently Asked Questions

What paths do I use to upload PERL files and use the PERL interpreter?

Print this Article
Comment on this Article
Last Updated: January 24, 2012 11:03 AM

If your hosting account uses Hosting Config 2.0, you can publish your PERL files to any directory. If your hosting account uses Hosting Config 1.0, you can upgrade to Hosting Config 2.0.

NOTE: The file's permissions must be set to execute to work.

To Upgrade to Hosting Config 2.0

  1. Log in to your Account Manager.
  2. Click Web Hosting.
  3. Next to the hosting account you want to use, click Launch.
  4. In the Account Summary area, click Upgrade in your Hosting Configuration field.

If you have a CGI/Perl or Java enabled account, the system path to our Perl interpreter is:

#!/usr/bin/perl

CGI binaries must end in .cgi or .pl. You cannot use /cgi-bin/ with our hosting system.

Example of a Test PERL Script

#!/usr/bin/perl

use CGI qw(:standard);
print "Content-type: text/html\n\n";
print "Greetings user.\n";