in reply to How a web server sending data to a CGI perl script ?
Hello exilepanda,
I re-read your posts several times, and I think this is what you're trying to do:
WebServer --> Client --> 2nd Client --> %ENV input
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . |
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . V
WebServer <-- Client <-- 2nd Client <-- HTML output
You want the WebServer to call a Client (CGI-script) to send the 'Todo' work to a 2nd Client ( Perl script ) that actually does the processing and then send the result (HTML output) back to the WebServer.
If this isn't what you want to do, then don't bother reading the rest of my post :-)
I have done this where we used Apache2 web-servers to call a small cgi-script which sent/received the data over sockets to a remote server(s) to process the 'Todo' work. If you do a super search on "Persistent Perl", you may get some ideas on "how" to accomplish this.
If this is what you're looking for, then you can ask some better questions and get some much better answers.
Hope this helps...Ed
Regards...Ed
"Well done is better than well said." - Benjamin Franklin
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: How a web server sending data to a CGI perl script ?
by exilepanda (Friar) on Jan 25, 2016 at 05:30 UTC | |
by flexvault (Monsignor) on Jan 25, 2016 at 16:03 UTC | |
by Anonymous Monk on Jan 25, 2016 at 07:26 UTC | |
by exilepanda (Friar) on Jan 26, 2016 at 17:00 UTC | |
by Anonymous Monk on Jan 27, 2016 at 08:50 UTC |