What paths do I use to upload PERL files and use the PERL interpreter?
Print this Article
Last Updated:
October 14, 2014 10:55 AM
You can publish your PERL files to any directory.
NOTE: The file's permissions must be set to execute to work.
If your account supports CGI or Perl (more info), 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";
use CGI qw(:standard);
print "Content-type: text/html\n\n";
print "Greetings user.\n";