Thank you for the info Adam.
I already wrote a wrapper that does just that. I was hoping to find an
alternative but and I guess I will stick with the wrapper.
Jimmy
On Nov 26, 2007 8:37 AM, <[EMAIL PROTECTED]> wrote:
> Quoting Jimmy Li <[EMAIL PROTECTED]>:
> >
> > How did you put all the reque
> What I ultimately did to get around this was modify the param scrubbing
> code that wanted to modify param so that what it created a new instance
> of an APR::Table, which does implement STORE when tied, and put
> everything in there.
>
> Adam
How did you put all the request parameters into an A
On Nov 25, 2007 11:43 AM, Adam Prime <[EMAIL PROTECTED]> wrote:
> The rub here for me is that in apreq1 you could modify param just fine,
> but that in apreq2 you cannot. None of the porting documents mention
> this unfortunately.
The PORTING section of the Apache2::Request docs do say this.
I t
Perrin Harkins wrote:
>> Get the request parameters using the tied APR::Request::Param::Table
object (which is returned by Apache2::Request->new($r)->param in
scalar context) as well as being able to modify the request parameters
in the tied APR::Request::Param::Table object.
Yes, but why? Th
> Yes, but why? That is simply a record of data that was in the
> request. You can't change the past. What are you really trying to
> do? Store some data for a later handler?
Something like that. Not really later handlers, but just later
subroutines. It has to do with the nature of my applicat
On Nov 23, 2007 5:57 PM, Jimmy Li <[EMAIL PROTECTED]> wrote:
> I am using Apache2::Request - APR::Request::Param::Table is just the
> underlying table used by Apache2::Request.
Sorry, I was thinking you were using the mod_perl API directly.
> Get the request parameters using the tied APR::Request
I am using Apache2::Request - APR::Request::Param::Table is just the
underlying table used by Apache2::Request. What I'm ultimately trying
to do is this:
Get the request parameters using the tied APR::Request::Param::Table
object (which is returned by Apache2::Request->new($r)->param in
scalar con
On Nov 22, 2007 2:36 PM, Jimmy Li <[EMAIL PROTECTED]> wrote:
> I'm currently using the tied APR::Request::Param::Table object to get
> request parameters. However, this tied object does not implement STORE
> so I cannot add or modify information in this object.
Can you tell us what you're ultimate
Hello,
I'm currently using the tied APR::Request::Param::Table object to get
request parameters. However, this tied object does not implement STORE
so I cannot add or modify information in this object. For my project I
need to be able to modify request parameters. I've tried doing this:
my %param