perl-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joe Schaefer <joe+gm...@sunstarsys.com>
Subject Re: [Fwd: Re: [rfc] APR::Table & polymorphic values]
Date Fri, 06 Jun 2003 01:54:09 GMT
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.

-- 
Joe Schaefer


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


Mime
View raw message