http://www.perlmonks.org?node_id=1153250


in reply to Re: How a web server sending data to a CGI perl script ?
in thread How a web server sending data to a CGI perl script ?

Um.. Not exactly what I am asking. Say, I fetched a URI from the client wanted "index.pl", then I want to *delegate* the query string , %ENV I've constructed in my server to index.pl for implementation, and I capture the result and return it to the client.

The meaning I said a CGI script don't need to concern... is that a CGI script can always code like this :

#!perl print "Content-Type: text/html\n\n"; print $ENV{REMOTE_ADDR};
The script don't need to care about the server is IIS or Apache...