Joe Schaefer wrote:
Stas Bekman <[EMAIL PROTECTED]> 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/table.pm for this.

__________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to