[prev in list] [next in list] [prev in thread] [next in thread]
List: apache-modperl
Subject: RE: Apache::Request->deleting paramaters
From: Eric Cholet <cholet () logilune ! com>
Date: 1999-07-29 13:57:51
[Download RAW message or body]
On Thursday, July 29, 1999 3:07 PM, Clinton [SMTP:clint@drtech.co.uk] wrote:
> How about $apr->removeparam ('foo'[,'bar',...])
>
> Also, what do you mean by $r->parms? I can't find any reference to parms.
>
$r->parms is the internal pointer to the table of parameters inside Apache::Request.
see libapr/c/apache_request.h
> Clint
>
> > -----Original Message-----
> > From: Doug MacEachern [mailto:dougm@cp.net]
> > Sent: 26 July 1999 22:49
> > To: Eric Cholet
> > Cc: 'Clinton'; 'modperl@apache.org'
> > Subject: RE: Apache::Request->deleting paramaters
> >
> >
> > On Tue, 13 Jul 1999, Eric Cholet wrote:
> > >
> > > Apparently not designed so, in Request/Request.pm:
> > >
> > > my($name, $value) = @_;
> > > ...
> > > if (defined $value) {
> > > $tab->set($name, $value);
> > > }
> >
> > oversight, I think. I could change it to $tab->unset if
> > $value eq undef,
> > but I'd rather choose a better name for $r->parms (not param), and
> > encourage use of the Apache::Table API, rather than having $r->param()
> > guess what method it should call. so, any name suggestions?
> >
> > -Doug
> >
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic