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.
- The distinction between "do BLOCK while COND&qu... Bart Lateur
- Re: The distinction between "do BLOCK whil... Peter Scott
- Re: The distinction between "do BLOCK ... Nathan Torkington
- Re: The distinction between "do BL... Tom Christiansen
- Re: The distinction between "d... Bart Lateur
- Re: The distinction between &q... Tom Christiansen
- Re: The distinction betwee... Christopher J. Madsen
- Re: The distinction be... Jonathan Scott Duff
- Re: The distinction be... Christopher J. Madsen
- Re: The distinction be... Jonathan Scott Duff
- Re: The distinction be... Tom Christiansen
- Re: The distinction be... Christopher J. Madsen
- Re: The distinction be... Tom Christiansen
- Re: The distinction be... Christopher J. Madsen
- do BLOCK as inline sub... Uri Guttman
