in reply to Re^2: Another prediction of Perl's demise
in thread Another prediction of Perl's demise
The only difference between mod_cgi and mod_perl/mod_php is what level the CGI interface is decoded at. The browser itself sends the same data no matter what.
Under mod_cgi, the server guarentees certain environment variables and how the standard filehandles are setup. The server might modify the output headers slightly (though it definately won't under NPH).
Under mod_perl/mod_php, the server has already done much of the work of deparsing the browser's request, and may significantly alter the output before the response finally goes back. With mod_perl2, the potential for output-munging is even greater with the use of filters that are applied after the CGI or main handler has run.
"There is no shame in being self-taught, only in not trying to learn in the first place." -- Atrus, Myst: The Book of D'ni.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Another prediction of Perl's demise
by ikegami (Patriarch) on Nov 26, 2004 at 18:57 UTC | |
by hardburn (Abbot) on Nov 26, 2004 at 19:54 UTC |