develooper Front page | perl.perl6.language | Postings from October 2002

Re: labeled if blocks

Thread Previous | Thread Next
From:
Erik Steven Harrison
Date:
October 26, 2002 23:23
Subject:
Re: labeled if blocks
Message ID:
IOEPLBEHAFGDFAAA@angelfire.com
 
--

On Sat, 26 Oct 2002 21:02:20  
 Larry Wall wrote:
>On Sat, 26 Oct 2002, Steve Canfield wrote:
>: Will Perl6 have labeled if blocks?  Like this:
>: 
>:   BLAH:
>:   if ($foo) {
>:      ...
>:      last BLAH if $bar;
>:      ...
>:   }
>
>I don't see why we need it offhand.  But we might well have something
>that returns out of the innermost {...} anyway, so you could use that.

Well, I always thought that labeled blocks in general would give us a 
way to label lexical scopes. If so, why shouldn't it apply to if 
blocks?

-Erik

>
>Larry
>
>


____________________________________________________________
Get 25MB of email storage with Lycos Mail Plus!
Sign up today -- http://www.mail.lycos.com/brandPage.shtml?pageId=plus 

Thread Previous | Thread Next


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