perl-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stas Bekman <>
Subject Re: [Fwd: Re: [rfc] APR::Table & polymorphic values]
Date Thu, 05 Jun 2003 06:47:24 GMT
Joe Schaefer wrote:
> Stas Bekman <> writes:
>>Hmm, what about storing the pointer to apreq_value_t as val 
> AFAICT, that helps nada.

true, again because of newSVpv

>>in the table and subclass get() to do what you want?
> Just subclassing get() might work!  At the moment
> I'm concerned about how each() is implemented; does
> each make a call to FETCH to get at the value?  If 
> so, how does it handle multivalued keys?

 From the perltie manpage:

   FIRSTKEY and NEXTKEY implement the keys() and each() functions
   to iterate over all the keys.

looks like mpxs_APR__Table_NEXTKEY is correct, though we don't really have a 
test in t/response/TestAPR/ for this.

Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker     mod_perl Guide --->

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message