develooper Front page | perl.perl6.language.flow | Postings from August 2000

Re: The distinction between "do BLOCK while COND" and "EXPR while COND" should go

From:
Jonathan Scott Duff
Date:
August 31, 2000 12:09
Subject:
Re: The distinction between "do BLOCK while COND" and "EXPR while COND" should go
Message ID:
20000831140924.C27415@cbi.tamucc.edu
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
duff@cbi.tamucc.edu



nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About