The path to perl is /usr/local/bin/perl
Perl or cgi files need to be uploaded with ASCII mode and set CHMOD 755
You must follow both steps before accessing the perl file on web browser.