Miko O'Sullivan wrote:
> > Acme::Don't - The opposite of `do'
>
> Wonderful job, Damian! I'll get to work on the complementary Acme::TryNotTo
> module.
use Yoda;
do {...} or not do {...};
not defined try {...};
;-)
Damian
PS: that's valid Perl 6!
Allison asked:
Hmmm... would C not have the same problem as C? It also
> "can't decide whether to execute until it knows whether the loop is
> going to iterate again".
Yes, it does.
Damian
Mike Lambert asked:
>
> > It's also unnecessary. The Holy Scoping Rules actually work in your favour in
> > this case. In Perl 6 you can just do this:
> >
> >
> > while my $cond = blah() {
> > ...
> > }
> >
> > and C<$cond> is defined *outside* the block.
>
> Question t
Glenn Linderman wrote:
> I've been watching this "Loop controls" thread with much interest. It
> is clear that there is some convenience in the concept of specialized
> blocks that execute FIRST or LAST or NEXT and BETWEEN has a large
> appeal, considering the large number of loops where somethi