Btw, looks like I was wrong about the terminology of
CPAN6/6PAN/whatever. See link below for details (the new Terminology
section).
http://svn.pugscode.org/pugs/docs/Perl6/Spec/S22-package-format.pod
:)
-
| Name: T
Author: wayland
Date: 2008-12-20 04:44:08 +0100 (Sat, 20 Dec 2008)
New Revision: 24508
Modified:
docs/Perl6/Spec/S22-package-format.pod
Log:
Added some definitions
Modified: docs/Perl6/Spec/S22-package-format.pod
===
--- docs/Per
Author: lwall
Date: 2008-12-20 03:06:20 +0100 (Sat, 20 Dec 2008)
New Revision: 24506
Modified:
docs/Perl6/Spec/S19-commandline.pod
Log:
[S19] random annotations for [particle]++'s consideration
Modified: docs/Perl6/Spec/S19-commandline.pod
=
Author: lwall
Date: 2008-12-19 23:58:28 +0100 (Fri, 19 Dec 2008)
New Revision: 24504
Modified:
docs/Perl6/Spec/S12-objects.pod
Log:
[S12] clarify $obje...@candidates for moritz_++
Modified: docs/Perl6/Spec/S12-objects.pod
===
---
Author: particle
Date: 2008-12-19 23:06:58 +0100 (Fri, 19 Dec 2008)
New Revision: 24501
Modified:
docs/Perl6/Spec/S19-commandline.pod
Log:
[spec] updates to notes, and minor clarifications
Modified: docs/Perl6/Spec/S19-commandline.pod
===
Author: pmichaud
Date: 2008-12-19 19:35:40 +0100 (Fri, 19 Dec 2008)
New Revision: 24493
Modified:
docs/Perl6/Spec/S26-documentation.pod
Log:
Add note at top that the current S26 draft is known to be out-of-date
with respect to current design.
Modified: docs/Perl6/Spec/S26-documentation.pod
==
Like I said: if the goto approach works for you, more power to you. Me, I find:
loop {
@stuff = grep { $_->valid } @stuff;
TEST: last unless @stuff;
$_->do_something( ++$i ) for @stuff;
}
to be at least as straightforward as:
goto INVARIANT;
while ( @stuff ) {
* Jon Lang [2008-12-19 03:50]:
> Personally, it doesn’t strike me as being as straightforward
> as putting a “last unless” clause into the middle of an
> otherwise-infinite loop
You have to keep more state in your head to read
while(1) {
# ...
last if $foo;
}
than to rea