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

[email protected] (Bart Lateur) Thu, 31 Aug 2000 19:44:59 +0200
Newsgroups perl.perl6.language.flow
Organization MediaMind
Message-ID <[email protected]>
On Thu, 31 Aug 2000 11:21:26 -0600, Tom Christiansen wrote:

>One could argue that do{} should take return so it might have a value,
>but this will definitely annoy the C programmers.

So what.

"Annoying" would be to have a situation that is *less* powerful in Perl
than in C, not *more*.

Oh, and eval BLOCK and do BLOCK and bare statements in a file (not in a
sub) should allow return() too.

-- 
	Bart.