johnnywang has asked for the wisdom of the Perl Monks concerning the following question:
Hi, I'm trying to migrate some existing mod_perl 1 code to mod_perl 2. The original code uses many calls like:
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, thanks.my $value = $r->args->{'foo'}; $r->args->{'foo'} = "bar";
Back to
Seekers of Perl Wisdom