Re: The distinction between "do BLOCK while COND" and "EXPR while COND" should go
[email protected] (Jonathan Scott Duff) Thu, 31 Aug 2000 14:09:24 -0500
| Newsgroups | perl.perl6.language.flow |
|---|---|
| Message-ID | <[email protected]> |
On Thu, Aug 31, 2000 at 02:13:23PM -0500, Christopher J. Madsen wrote:
> Jonathan Scott Duff writes:
> > do { ... last; ... }; # exit the block immediately
> > do { ... next; ... }; # equivalent to last?
> > do { ... redo; ... }; # equivalent to last?
>
> Umm, wouldn't redo be equivalent to 'goto begin'?
>
> do { begin: ... goto begin; ... }; # equivalent to redo
Oh yes, exactly as it is now. Sorry.
-Scott
--
Jonathan Scott Duff
[email protected]