On 2004-02-28, sagi <[EMAIL PROTECTED]> wrote:
> Have you tried using Apache::Request instead of CGI?. It also has a
> similar API to CGI, and if youre running mod_perl, you should be using
> Apache::Request :)
>
> Check out:
> http://search.cpan.org/~joesuf/libapreq-1.3/Request/Request.pm

I'm aware of Apache::Request. I understand it has better performance, I
believe it provides all the functionality I need. However, it's not a
good solution in this case for a few reasons:
 - My code needs to run unmodified under CGI and modperl for now.  
 - DFV currently has CGI-specific uploading code in it.
 - I want to support the other users of CGI/DFV/modperl.

It would be great of Apache::Request had a "Compatible" mode in which 
it provided the same API has CGI.pm does for the functions it offers. (For example, 
with file
uploading).  

I did try s/CGI/Apache::Request/ in my test script to see what
happened-- the error went away. Another user report trying the test
script with CGI.pm and not having the problem at all...  It looks like 
the problem could be as much with CGI.pm as it is with DFV. I'll try 
shopping my question on that list as well as see how I do.

Thanks for the response.

        Mark

-- 
http://mark.stosberg.com/ 


-- 
Report problems: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/maillist/email-etiquette.html

Reply via email to