David Wheeler wrote:
On Tuesday, September 2, 2003, at 10:51 AM, Stas Bekman wrote:

This is for mod_perl 1.0, right? In mp2 it's APR::Table and it is available outside mod_perl (well, it's almost there, still need to remove a few dependencies on mp symbols).


Ah, that's cool. Yes, this is for 1.x.

Of course it needs libapr to be installed ;) APR:: classes will be used to implement a real Apache::FakeRequestRec (independent of mod_perl) once someone will code it.


You probably need to implement it internally as a hash of lists and adjust the NEXTKEY method to handle that.


It _is_ a hash of array references (or rather a hash of arrays of arrays), but NEXTKEY, AFAIK, returns a single scalar value, not a list of key/value pairs.

Yes, so you need to change the NEXTKEY implementation to track the index by yourself. e.g., look at the C/XS implementation?



__________________________________________________________________ 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