in reply to Not getting form data from stdin

Okay, it's been a while since I played with cgi scripts and my memory isn't what it used to be, but since when does a cgi script take input from C<STDIN>? I think OP would benefit from reading the docs for CGI. It might be old, but it's simple.

You must always remember that the primary goal is to drain the swamp even when you are hip-deep in alligators.