On January 5, 2002 05:23 am, you wrote: > On Fri, Jan 04, 2002 at 11:00:45PM -0500, Jeff G wrote: > > new P0,PerlHash > > set P0,-6,"foo" # Store the value -6 in key 'foo' of the hash P0 > > set I0,P0,"foo" # Recover the value at "foo" > > Very, very, cool. However, I'm not convinced that we're going about this > the right way. > > Currently, we have vtable operations to retrieve a value by key where > the key's an integer, and to retrieve a value by key where the key's > a string. Of course, different PMC classes will have different ways > of hashing things, so we might need a different vtable operation to > retrieve by float, or by PMC, or ... Do you see what I'm saying? > > Basically, we need to retrieve by a generic key structure.
yes.. By PMC :) wasnt there alot of talk about perl5 having 'PMC' like keys? -- Thomas Fjellstrom [EMAIL PROTECTED] http://strangesoft.net