perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kirk" <k...@icapsolutions.com>
Subject mp2 and post/get params
Date Wed, 20 Feb 2008 17:54:22 GMT
I'm new to mp2 and have a relatively old application that used the mp1
implementation of grabbing get/post params from incoming requests:


$r = shift;

# grab incoming value 
my $value = $r->param('name');
...
...
# assign some value
$r->param('key' => 'val');

And of course, I need to consolidate both request type into one hash or
string so I can access either, or both, on demand.

What is the equivalent in mp2?  I can't seem to find a general answer in the
docs and it's a bit confusing where this functionality disappeared to.

Thx,
Kirk




Mime
View raw message