-----Original Message-----
From: Rob Bloodgood
To: mod_perl
Sent: 6/18/01 6:35 PM
Subject: Adding parameters to a request
[snip]
> I'm using Apache::Request, for the sole
>purpose
>of having easier access to the parameters. Except that it turns out
>Apache::Request's param() method does NOT support *setting* parameters,
>only
>*getting* them. <sigh>
the
$apr->param('foo' => [qw(one two three)]);
example in the docs didn't work until recently in CVS and it hasn't been
propigated out yet (although a 0.33 release of libapreq is pending)
for the moment, try
my $parms = $apr->parms;
$parms is an Apache::Table object, for which you can call get(), set(),
add(), etc.
in the next release, $apr->param will return an Apache::Table object in a
scalar contect, removing the need for a separate parms() method. for now,
that should help.
--Geoff