On Wed, Feb 16, 2005 at 10:40:52PM -0500, Stas Bekman wrote: > I wonder if it'd be a good idea to make CGI.pm libapreq aware. Most people > use CGI.pm since it parses input and generates the output, so empowering > CGI.pm with libapreq speed would be really cool.
Actually, I thought[1] the goal of Apache::Request was to mimic most of the functions in CGI.pm. I know that Michael Peters (who is hopefully reading this message and can speak for himself) had to do some extra coding for his CGI::Application plugin[2] which uses the Apache::* modules when running inside a mod_perl environment. From a programmers point-of-view, there are some extra keystrokes involved if you want to support both mod_cgi and mod_perl simply due to the difference in the APIs. I suppose though that adding libapreq to CGI.pm would garner more results for more developers faster than amending the A::R API to mimic CGI.pm (which may not even be the goal of this module). William [1] Presently, I'm primarily an Apache::Registry user. [2] http://search.cpan.org/~wonko/CGI-Application-Plugin-Apache-0.10/ -- Knowmad Services Inc. http://www.knowmad.com
