Hi, I'm trying to migrate some existing mod_perl 1 code to mod_perl 2. The original code uses many calls like:
my $value = $r->args->{'foo'}; $r->args->{'foo'} = "bar";
 
to get and set request parameters. I couldn't seem to find an equivalent in mod_perl 2, Apache2::Request allows retrieving parameters by its param() method, but no way to set the parameters to be processed further down the chain. There is also the Apache2::RequestRec's args() method, but it sets the query_string as a whole. What are the best mod_perl 2 equivalent of the above two calles?
 
Thanks.
 
J.

Reply via email to