in reply to Debugging woes

Is it CHMOD correctly?

If you are printing a webpage don't forget to
print "Content-Type: text/html; charset=ISO-8859-1"; print "\n\n";

Might need to post some more details.
Regards,

Gerard