I fixed that today... will check in in a few hours.
It's harder to come up with a new example than to update syntax. :)
--John
Eirik Berg Hanssen Eirik-Berg.Hanssen-at-allverden.no |Perl 6| wrote:
pugs-comm...@feather.perl6.nl writes:
statement, or if you want to attach multiple stateme
pugs-comm...@feather.perl6.nl writes:
> statement, or if you want to attach multiple statements. you must either
> use the curly form or surround the entire expression in brackets of some
> sort:
>
> -@primes = (do (do $_ if .prime) for 1..100);
> +@primes = do $_ if prime($_) for 1..
Author: jdlugosz
Date: 2009-05-26 02:14:51 +0200 (Tue, 26 May 2009)
New Revision: 26938
Modified:
docs/Perl6/Spec/S04-control.pod
Log:
[S04] update code under "do-once loop" in line with current specs.
Move a paragraph that was interfering with the antecedent of the following
paragraph.
Modif