plesk perl error premature end of script headers
On Plesk server, perl script is not working, it shows error
[Thu Feb 14 15:54:29 2008] [error] [client 188.8.131.52] Premature end of script headers: test.cgi
This error can happen if perl script is not in UNIX format. Upload the script in ASCII mode will fix that.
In this case problem was cased due to suEXEC. The permission of perl files was wrong.
chown -R USERNAME:psacln cgi-bin/*