If you are using WS_FTP, make sure that the only box checked at the bottom of the viewer to upload is set to "ASCII". You can chmod files by right-clicking over it and then choosing "Chmod (Unix)" in the menu. Then fill in the boxes for the appropriate permissions.

ASCII is "Text" mode which is what all Perl scripts should be uploaded in.