CGI and PERL scripts should ALWAYS be uploaded in ASCII mode.
Scripts uploaded in binary will not work correctly. One way around this is to amend the first line of a script to read...
#!/usr/bin/perl --
Also, make sure that if you have written them yourself or made changes, then the scripts should be edited in a program like Notepad or TextPad, and not Wordpad, Word etc.


