On Tue, Nov 15, 2005 at 12:28:30PM -0800, Larry Wall wrote: > On Tue, Nov 15, 2005 at 12:32:38PM -0600, Patrick R. Michaud wrote: > : On Tue, Nov 15, 2005 at 10:26:05AM -0800, jerry gay wrote: > : > > Thus, while PGE::Match currently defines a C<__get_pmc_keyed_int> > : > > method, it's doesn't yet define a C<__get_string_keyed_int> method. > [...] > Inheritance is wrong here anyway. We need some kind of basic Tree node > object that *does* Hash, Array, and Item, but isn't any of them.
Agreed; I just went with Hash for the time being as a cheap implementation approach for now, and provide interfaces that allow Match objects to act in the various roles we have defined thus far. I fully suspect the actual type and implementation of Match will change as we define and understand the problem space a bit better. The rest of the items in Larry's message I leave for p6l. :-) Pm