Knowledgebase
How to upload / run Perl script
Posted by PremiumReseller.com on 16 April 2009 01:20 AM

Please follow the steps below to deploy perl script on your hosting account.

Connect to FTP, change to public_html/cgi-bin folder

Upload Perl script under ASCII mode

Set CHMOD 755 to enable execute permission

Your Perl script should work in web browser now

You can test create hello.pl file and upload to the hosting space.
Sample Hello World Perl script:

#!/usr/local/bin/perl
print "Content-type: text/html\n\n";
print "<H1>Hello World</H1>\n;

(215 vote(s))
This article was helpful
This article was not helpful