Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion Comparing Object Identity (was: Re: Stringification of references (Decision, Please?))

Newsgroups: perl.perl6.language
Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!nntp.perl.org
Return-Path: <d...@sidhe.org>
Mailing-List: contact perl6-language-h...@perl.org; run by ezmlm
Delivered-To: mailing list perl6-langu...@perl.org
Mime-Version: 1.0
X-Sender: d...@redcap.sidhe.org (Unverified)
Message-ID: <a05200f06ba1de93b582e@[63.120.19.221]>
In-Reply-To: <20021212044301.8F93C343@babylonia.flatirons.org>
References: <20021211191621.097CE33B@babylonia.flatirons.org> <15232E2F-0D56-11D7-8A09-00050245244A@cognitivity.com> <20021211225352.4621.qmail@onion.perl.org> <3DF7C74A.6010700@conway.org> <20021212044301.8F93C343@babylonia.flatirons.org>
Date: Thu, 12 Dec 2002 02:20:54 -0500
To: Luke Palmer <fibon...@babylonia.flatirons.org>, dam...@conway.org
Subject: Re: Comparing Object Identity (was: Re: Stringification of references (Decision, Please?))
Cc: perl6-langu...@perl.org
Content-Type: text/plain; charset="us-ascii" ; format="flowed"
X-SMTPD: qpsmtpd/0.20, http://develooper.com/code/qpsmtpd/
Approved: n...@nntp.perl.org
From: d...@sidhe.org (Dan Sugalski)
Lines: 26

At 9:43 PM -0700 12/11/02, Luke Palmer wrote:
>  > Mailing-List: contact perl6-language-h...@perl.org; run by ezmlm
>>  X-Sent: 11 Dec 2002 23:16:30 GMT
>>  Date: Thu, 12 Dec 2002 10:16:26 +1100
>>  From: Damian Conway <dam...@conway.org>
>>  X-Accept-Language: en, en-us
>>  X-SMTPD: qpsmtpd/0.20, http://develooper.com/code/qpsmtpd/
>>
>>  There's no need for special methods or (gods forbid) more operators.
>>  Just:
>>
>>       $obj1.id == $obj2.id
>>
>>  That's what the universal C<id> method is *for*.
>
>I rather like that.  It's used for hashing by default (in absence of a
>stringification or .hash (?) method), yes?

Not for string key hashes, no.
-- 
                                         Dan

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