httpd-apreq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joe Schaefer <joe+gm...@sunstarsys.com>
Subject Re: APR::Request::Param::Table
Date Mon, 11 Jul 2005 09:43:37 GMT
"Philip M. Gollucci" <pgollucci@p6m7g8.com> writes:

> You're saying I can't do:
> sub handler {
>
> 	my $r = shift;
> 	my $req = Apache2::Request->new($r);
> 	my $FORM = $req->param;
> 	$FORM->{foo} = 'bar'; ### line 20

Right- that's no longer allowed.

> Is this because of the underlying APR implementation,
> or has the tied hash STORE function just not been
> implemented yet?

The underlying C implementation is a const apr_table_t *
(see apreq_module.h). So technically we shouldn't implement
a STORE method on that.

-- 
Joe Schaefer


Mime
View raw message