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

Re: Ruby iterators and blocks (was: Perl 6 Summary)

Thread Previous
From:
Larry Wall
Date:
July 4, 2002 09:38
Subject:
Re: Ruby iterators and blocks (was: Perl 6 Summary)
Message ID:
Pine.LNX.4.44.0207040933570.31127-100000@london.wall.org
On 4 Jul 2002, Erik [ISO-8859-1] Bågfors wrote:
: On Thu, 2002-07-04 at 11:19, Andy Wardley wrote:
: > I personally believe this approach is flawed, especially considering the fact 
: > that there is no way (that I know of) to force block parameters to be truly
: > lexically scoped or temporary (i.e. 'my' or 'local' in Perlspeak).  Much too 
: > easy to mangle existing variables like this.
: 
: Most people agree. In the future there will be a way of doing that. 
: Matz himself has said so.

Indeed, Ruby is the main reason I decided to keep "my" explicit in Perl 6.  :-)

Larry


Thread Previous


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