develooper Front page | perl.perl6.internals | Postings from July 2002

Re: RFC - Hashing PMC's <albie@halfarrabio.di.uminho.pt>

From:
Dan Sugalski
Date:
July 23, 2002 15:01
Subject:
Re: RFC - Hashing PMC's <albie@halfarrabio.di.uminho.pt>
Message ID:
a05111b01b9637727d678@[192.168.1.51]
At 9:36 AM +0100 7/22/02, pdcawley@bofh.org.uk wrote:
>Um... not necessarily. Bordering on the 'not at all'. Perl 6 will
>apparently allow one to have things other than strings as keys to
>hashes. If I have:

Yes. Hashes will take either strings or object IDs, depending on the 
hash. (The hash can choose)

Objects are required to provide a fixed id. (No sneaky changing IDs 
on the fly. Not allowed) Multiple objects may or may not be allowed 
to have the same ID--opinions differ there.
-- 
                                         Dan

--------------------------------------"it's like this"-------------------
Dan Sugalski                          even samurai
dan@sidhe.org                         have teddy bears and even
                                       teddy bears get drunk



nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About