in reply to CGI script query

Here is your mistake:
instaed of
print $query->("dssp file used is $dssp_file");
do this
print $query->body("dssp file used is $dssp_file");
Oh and btw use "" not ''