Joe Schaefer wrote:
Stas Bekman <[EMAIL PROTECTED]> writes:


The solution I see is to store the id in the key, so when FETCH is
called in the SCALAR context it checks whether the key has an id and
uses it to get the appropriate value. Otherwise it calls
apr_table_get(). Does this work?


It just might. Try fiddling with NEXTKEY and FETCH,
maybe changing the "char *" prototypes to "SV *", and see if you can get them to communicate with one another.

I'd hate to take the joy of adding these wonderful features away from Philippe, who's now busy wrestling with mod_perl 1.28 release, but once done will certainly love to do those. Right Philippe?




__________________________________________________________________
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