perl-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stas Bekman <s...@stason.org>
Subject Re: [Fwd: Re: [rfc] APR::Table & polymorphic values]
Date Fri, 06 Jun 2003 02:14:16 GMT
Joe Schaefer wrote:
> Stas Bekman <stas@stason.org> 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:stas@stason.org http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@perl.apache.org
For additional commands, e-mail: dev-help@perl.apache.org


Mime
View raw message