develooper Front page | perl.perl6.internals | Postings from September 2001

RE: Should MY:: be a real symbol table?

Thread Previous | Thread Next
From:
Sam Tregar
Date:
September 2, 2001 14:32
Subject:
RE: Should MY:: be a real symbol table?
Message ID:
Pine.LNX.4.33.0109021718150.4624-100000@localhost.localdomain
On Sun, 2 Sep 2001, Brent Dax wrote:

> Okay, I forgot to account for the fact that we'd have to increment the
> refcount for every inner scope a my() variable is referred to in.
> That's not terribly hard, is it?

I have no idea what you're talking about here.  You asked if it was
possible to fake lexical variables with local() (spelled temp() in Perl 6,
right?).  It's not.  Diddling the reference count won't make it any more
possible!  They have different semantics that just aren't compatible.

-sam


Thread Previous | Thread Next


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