perl-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joe Schaefer <>
Subject Re: [Fwd: Re: [rfc] APR::Table & polymorphic values]
Date Fri, 06 Jun 2003 01:54:09 GMT
Stas Bekman <> 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:
For additional commands, e-mail:

View raw message