in reply to How a web server sending data to a CGI perl script ?
You sound confused, thats ok
See CGI, PSGI, CGI::Emulate::PSGI, HTTP::Request::AsCGI, Re: Is it possible to write to STDIN ? (fake CGI POST STDIN)