whenever i upload a Perl scrit i get a 500 Internal server error i upload via SmartFTP under the mode ASCII i have tried all type of CHMOD
Try adding this at the top of the page where you load any modules... use CGI::Carp qw( warningsToBrowser fatalsToBrowser ); Also, what web server are you using? Be sure to check your server error logs, this will more than likely give you the cause of the problem.
That's strange, that the error log isn't reporting an error. Did you try adding the CGI::Carp? What did that do?