in reply to Premature end of script headers.

When all else fails, check the server logs. If you don't know where they are, bug the support people or your sysadmin.

(Having said that, one bets that /usr/local/perl should be /usr/local/bin/perl . . . )