You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by Rafel Amer <am...@ruth.upc.es> on 2003/01/17 09:57:32 UTC

mp2.0 Apache::Request

Hi.

I use apache-1.3.26, modperl-1.27 and Embperl-1.3 with libapreq-1.0
and I have a routine in perl that processes the data passed from
a form (from the Modperl Cookbook):

   use Apache::Request;

   my $r = Apache::Request->instance(Apache->request);
   foreach $param ($r->param)
   {
      .....
   }

In the documentation of nodperl-2.0, I cannot find any references to
libapreq and $r->param.

Does anybody know how I can process the data in modperl-2.0?

Thanks.

R. Amer
Polythecnic University of Catalonia


Re: mp2.0 Apache::Request

Posted by Stas Bekman <st...@stason.org>.
Steve wrote:
>>In the documentation of nodperl-2.0, I cannot find any references to
>>libapreq and $r->param.

Because it's not there yet.

> correct me if I'm wrong anyone,but I don't think Apache::Request has been
> ported to
> modperl2 yet..

True. The C porting of libapreq is almost complete. The Perl glue will 
come next. (A few months?)

> for now I'm using cgi

Steve probably means CGI.pm ;0) Though make sure that you use the latest 
version if you want to run it under mod_perl 2.0.

__________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:stas@stason.org http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com


Re: mp2.0 Apache::Request

Posted by Steve <du...@hotmail.com>.
> In the documentation of nodperl-2.0, I cannot find any references to
> libapreq and $r->param.

correct me if I'm wrong anyone,but I don't think Apache::Request has been
ported to
modperl2 yet..

for now I'm using cgi