--- Larry Wall <[EMAIL PROTECTED]> wrote:If there reasonably can be block modifiers, I will unreasonably declare that there can't be. You can always say: do { print; next; } if|when /stgh/; (It's still the case that do-while is specifically disallowed, however.)
But I also want do/while to work, solely because repeat/until sucks. What's the big deal there?
hm..
do {...} while ...
sucks much more:) just because it used as loop, but it isn't really a loop, so you cannot use C<next> or C<redo>.. but IMNSHO to "specifically disallow" it is somewhat unnatural, even if it could save from mistakes many of us, who will think it works perl5ish way... maybe it just should be written with BIG letters in perl6syn:
W A R N I N G ! ! ! do {...} while ... DOES CHECK CONDITION (look here>>) __**BEFORE**__ (<<look here) TRYING TO EXECUTE C<DO> BLOCK. (look here ^^^) because C<do> isn't something special anymore. So just use repeat/until (or something)
(I correctly guessed true reasons for that, did I? :)
-- plz, ekskuze ma french. Alexey