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 "Hello World\n";