in reply to Re: cgi and stdinin thread cgi and stdin
Then without looking I am willing to bet that your code is broken. See Use CGI or die; for some of the standard pitfalls.