Message from discussion
References to hash elements?
Newsgroups: perl.perl6.internals
Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!nntp.perl.org
Return-Path: <pdcaw...@bofh.org.uk>
Mailing-List: contact perl6-internals-h...@perl.org; run by ezmlm
Delivered-To: mailing list perl6-intern...@perl.org
Received: (qmail 91592 invoked by uid 76); 13 Jan 2004 09:06:41 -0000
Received: from qma...@one.develooper.com (HELO ran-out.mx.develooper.com) (64.81.84.115) by onion.perl.org (qpsmtpd/0.26) with SMTP; Tue, 13 Jan 2004 01:06:41 -0800
Received: (qmail 14208 invoked by uid 225); 13 Jan 2004 09:06:37 -0000
Delivered-To: perl6-intern...@perl.org
Received: (qmail 14191 invoked by uid 507); 13 Jan 2004 09:06:36 -0000
Received: from aluminium.ftech.net (HELO relay2.ftech.net) (212.32.16.75) by one.develooper.com (qpsmtpd/0.27-dev) with ESMTP; Tue, 13 Jan 2004 01:06:35 -0800
Received: from opal.ftech.net ([212.32.16.127] helo=mailgate.ftech.net) by relay2.ftech.net with esmtp (Exim 3.36-ftechp12 #2) id 1AgKVK-00005A-00; Tue, 13 Jan 2004 09:06:30 +0000
Received: from pc1.bofhadsl.ftech.co.uk ([212.32.59.214] helo=obelisk.bofh.org.uk) by mailgate.ftech.net with esmtp (Exim 3.36-ftechp12 #1) id 1AgKVK-0000xT-00; Tue, 13 Jan 2004 09:06:30 +0000
Received: from localhost (localhost [127.0.0.1]) by obelisk.bofh.org.uk (Postfix) with ESMTP id 1D996170B81; Tue, 13 Jan 2004 09:07:22 +0000 (GMT)
Received: from obelisk.bofh.org.uk ([127.0.0.1]) by localhost (obelisk.bofh.org.uk [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 15469-05; Tue, 13 Jan 2004 09:07:21 +0000 (GMT)
Received: by obelisk.bofh.org.uk (Postfix, from userid 501) id C3789170B7E; Tue, 13 Jan 2004 09:07:21 +0000 (GMT)
To: Arthur Bergman <s...@nanisky.com>
Cc: perl6-intern...@perl.org, ponie-...@perl.org
Subject: Re: References to hash elements?
References: <E8338D24-4068-11D8-896A-000A95A2734C@nanisky.com> <20040106170516.GA2013@alibi.simon-cozens.org>
Date: Tue, 13 Jan 2004 09:07:21 +0000
In-Reply-To: <20040106170516.GA2013@alibi.simon-cozens.org> (Simon Cozens's message of "Tue, 6 Jan 2004 17:05:16 +0000")
Message-ID: <m23cak8bee....@obelisk.bofh.org.uk>
User-Agent: Gnus/5.1003 (Gnus v5.10.3) XEmacs/21.5 (celeriac, darwin)
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Spam-Check-By: one.develooper.com
X-Spam-Status: No, hits=-2.5 required=7.0 tests=CARRIAGE_RETURNS,IN_REP_TO,QUOTED_EMAIL_TEXT,REFERENCES,SPAM_PHRASE_00_01,USER_AGENT,USER_AGENT_GNUS_UA version=2.44
X-SMTPD: qpsmtpd/0.26, http://develooper.com/code/qpsmtpd/
Approved: n...@nntp.perl.org
From: pdcaw...@bofh.org.uk (Piers Cawley)
Simon Cozens <si...@simon-cozens.org> writes:
> Arthur Bergman:
>> I am wondering how the references to hash elements are planned to be
>> done? The call to set_ must somehow be delayed until the time is right.
>
> I would have thought that a hash element would itself be a PMC rather
> than an immediate value, so a reference to that should be treated just
> like any other reference to a PMC.
I believe the correct name for this is 'Pair' isn't it?