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 Properties & Methods

Newsgroups: perl.perl6.language
Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!nntp.perl.org
Return-Path: <la...@london.wall.org>
Mailing-List: contact perl6-language-h...@perl.org; run by ezmlm
Delivered-To: mailing list perl6-langu...@perl.org
Delivered-To: perl6-langu...@perl.org
Date: Tue, 08 Apr 2003 11:26:23 -0700
Subject: Re: Properties & Methods
In-reply-to: <a0521060cbab8945b07cf@[63.120.19.221]>
To: perl6-langu...@perl.org
Mail-followup-to: perl6-langu...@perl.org
Message-ID: <20030408182623.GA6224@wall.org>
MIME-version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-transfer-encoding: 7BIT
Content-Disposition: inline
User-Agent: Mutt/1.4i
References: <ygche9fqut2.fsf@babylonia.flatirons.org> <m2el4do9gd.fsf@TiBook.bofh.org.uk> <ygcwui5ecvb.fsf@babylonia.flatirons.org> <a0521060cbab8945b07cf@[63.120.19.221]>
X-SMTPD: qpsmtpd/0.25, http://develooper.com/code/qpsmtpd/
X-Spam-Check-By: one.develooper.com
X-Spam-Status: No, hits=-1.9 required=7.0 tests=CARRIAGE_RETURNS,IN_REP_TO,REFERENCES,SPAM_PHRASE_00_01,USER_AGENT,USER_AGENT_MUTT version=2.44
X-SMTPD: qpsmtpd/0.25, http://develooper.com/code/qpsmtpd/
Approved: n...@nntp.perl.org
From: la...@wall.org (Larry Wall)
Lines: 14

On Tue, Apr 08, 2003 at 11:01:24AM -0400, Dan Sugalski wrote:
: At 12:12 AM -0600 4/8/03, Luke Palmer wrote:
: >In this case it would be great to have lexically and dynamically
: >scoped properties.  So:
: 
: Gah! No! Nononononononono! Have I mentioned I'd rather not?
: 
: Lexically and dynamically scoped *methods* I can manage, as that's 
: just a layered namespace issue, and that's no big deal. Lexically and 
: dynamically scoped *properties*, though... Yowtch.

But what if you just think of the property as a method on a singleton class?

Larry