Re: clearing a parameter using Apache::Request
[prev]
[thread]
[next]
[Date index for 2005/01/07]
You don't state which Version of mp you are using but
Yes you can in both generations, by using the
Apache::Table/APR::Table-Object.
I have not tested it but as far as I understand the docs
this could should work.
----------------8<----------------
use mod_perl;
my $apr = Apache::Request->new($r);
my $table;
## check the mp-version
if( $mod_perl::VERSION >= 1.99 ) {
$table = $req->param; ## mp2
} else {
$table = $apr->parms; ## mp1
}
delete $table->{submitting}
----------------8<----------------
Tom
greger@xxxxxxxxxxxxxxxxx.xxx wrote:
> Hi all,
> I'd also be interested to know if it is possible to get the params, alter
> them, from mod_perl without using the request object method...
> anyone?
> /Greger
> --
> www.gh-webinteractive.com