Check the steps below:

1. Make sure the Perl path is set to /usr/bin/Perl
2. Make sure the .cgi/.pl file was uploaded to cgi-bin folder
3. Make sure the .cgi/.pl file was uploaded in ASCII mode
4. Make sure to CHMOD the script to 755

If the above steps didn’t help, send us a support ticket. Also please make sure to include the readme file.