in reply to Re^2: Useful uses of redo?
in thread Useful uses of redo?

do { } still exists. It's just the statement-modifier while-on-do that is taken away.

Replies are listed 'Best First'.
Re^4: Useful uses of redo?
by aufflick (Deacon) on Aug 26, 2004 at 22:57 UTC
    So are you saying that in perl6 the following won't be valid:
    do {
        $foo = foo();
        $bar = bar();
    } while ($foo != $bar);
    ?? That would suck!

      Correct.


      Examine what is said, not who speaks.
      "Efficiency is intelligent laziness." -David Dunham
      "Think for yourself!" - Abigail
      "Memory, processor, disk in that order on the hardware side. Algorithm, algorithm, algorithm on the code side." - tachyon