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

1. Do you think rather send out the data to an external script, import the external code into the server and run it is a better approach (eg. require "script.pl") ?

Sure its a better approach (hint CGI::Compile/ ), for perl, its called PSGI as implemented by Plack

2. Can you tell if when a web server claims it supports a certain language, it does have to implement something ( not just command line ) to prepare the environment ( meta ) variables for that particular language ?

What "web server" are claiming what kind of support?

Yeah, question is kinda vague, claimed support can be anything, from what mod_perl does (full control) to what to merely support for better-than-CGI like WSGI, PSGI, Rack, JSGI, SCGI...

  • Comment on Re^7: How a web server sending data to a CGI perl script ?

Replies are listed 'Best First'.
Re^8: How a web server sending data to a CGI perl script ?
by exilepanda (Friar) on Jan 22, 2016 at 08:02 UTC
    Hmm... think that I got the starting point now. The interface of CGI::Compile looks good to me. Thanks again! and much appreciated for all your help! =)