httpd-apreq-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Philip M. Gollucci" <pgollu...@p6m7g8.com>
Subject Re: APR::Request::Param::Table
Date Mon, 11 Jul 2005 01:10:25 GMT
Joe Schaefer wrote:
> You can't do it anymore with apreq's 2.x API.
> This functionality was dropped with 2.05-dev,
> but the docs weren't updated properly to reflect 
> the change.  Sorry about that.

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

	$r->content_type('text/plain');
	print STDERR Dumper $FORM;

	return Apache2::Const::OK;
}

[Sun Jul 10 21:04:48 2005] [error] [client 127.0.0.1] Can't locate 
object method "STORE" via package "APR::Request::Param::Table" at 
/usr/local/apps/httpd-2.0.54/packages/TEST/args.pm line 20.

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


-- 
END
------------------------------------------------------------
     What doesn't kill us can only make us stronger.
                 Nothing is impossible.
				
Philip M. Gollucci (pgollucci@p6m7g8.com) 301.254.5198
Consultant / http://p6m7g8.net/Resume/resume.shtml
Senior Developer / Liquidity Services, Inc.
   http://www.liquidityservicesinc.com
        http://www.liquidation.com
        http://www.uksurplus.com
        http://www.govliquidation.com
        http://www.gowholesale.com


Mime
View raw message