On Wed, 2004-06-16 at 20:19, Steven Scotten wrote: > So I've set to trying to replace CGI.pm entirely in one particular > module. It looks as though Apache::Request would have been my path in > mod_perl 1.x and I've been looking at > http://perl.apache.org/docs/2.0/user/porting/compat.html (among other > places) for what to do. > > Under $r->request it says "Use Apache->request".
Just in case it wasn't clear, Apache::Request and Apache->request() are totally different things. Apache::Request is a module provided by the libapreq distribution, which is used for parsing query arguments. Apache->request is a way to get the current request object, usually referred to as $r. It is used for all kinds of things related to the current request. To make an Apache::Request object, you give it an Apache->request() object which it uses to access the query string and other input. Confusing, but it's important to understand the difference. - Perrin -- 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