when a user submits a form to look the resultant webpage, this fprm is received by the webserver and different cgi parameters are created by the webserver as per cgi protocol. These parameters are handed over to the script amd the perl script is run to produce HTML output. this output is sent to STDOUT, is to the command prompy console on server. How is this output sent to client browser which made the request for the HTML document ?
To my understanding, once the output is diaplayed on STDOUT, then execution finishes there. In case of server, where there is no monitor screen, how would the output be displayed ?