develooper Front page | perl.perl6.language | Postings from October 2008

Re: [svn:perl6-synopsis] r14586 - doc/trunk/design/syn

Thread Previous | Thread Next
From:
Larry Wall
Date:
October 5, 2008 19:38
Subject:
Re: [svn:perl6-synopsis] r14586 - doc/trunk/design/syn
Message ID:
20081006023755.GA26195@wall.org
On Sun, Oct 05, 2008 at 07:31:30PM -0700, Larry Wall wrote:
:     @seq := 1 ... { $_ + 1 if @seq < 10 }

Actually, that one might not work, since we can't find the length of
@seq without knowing how many value the closure will generate.  The
implicit version would not have that problem.

Larry

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