in reply to Win32 CGI breaks STDIN?

Sorry, the last line there should read "If I comment these lines out ...."

UPDATE: To answer the questions posed below as to why use <STDIN> in CGI:
I have no idea why <STDIN> was being used. As I said, it was a question posted to Q&A that I noticed, started playing with, and was subsequently driven crazy by.. the \r does appear as though it was causing the problem.