Re: Apoc4: Parentheses

2002-01-21 Thread Bryan C. Warnock
On Sunday 20 January 2002 21:00, Damian Conway wrote: Bryan C. Warnock asked: Since the parentheses are no longer required, will the expressions lose or retain their own scope level? (I'm assuming that whatever rule applies, it will hold true if you do elect to use parantheses anyway.)

Re: Apoc4: Parentheses

2002-01-21 Thread Larry Wall
[EMAIL PROTECTED] writes: : On Sunday 20 January 2002 21:00, Damian Conway wrote: : Bryan C. Warnock asked: : Since the parentheses are no longer required, will the expressions : lose or retain their own scope level? (I'm assuming that whatever : rule applies, it will hold true if you do

Re: Apoc4: Parentheses

2002-01-21 Thread Damian Conway
Err. Expressions don't have their own scope level, even in Perl 5. They do in block conditional expressions. But that's a property of being in a block conditional, not of being an expression. And, yes, it's going away in Perl 6. Damian

Re: Apoc4: Parentheses

2002-01-21 Thread Bryan C. Warnock
On Monday 21 January 2002 11:27, Larry Wall wrote: Compound statements in Perl 5 do have an implicit {} around the entire statement, but that has nothing to do with the required parentheses around the expressions, other than the fact that we're doing away with both of those special rules in

RE: Apoc4: Parentheses

2002-01-20 Thread Sterin, Ilya
[EMAIL PROTECTED] writes: : QUOTE : Interestingly, this one tweak to the whitespace rule also means that we'll : be able to simplify the parentheses out of other similar built-in constructs: : : if $foo { ... } : elsif $bar { ... } : else { ... } : : while

Re: Apoc4: Parentheses

2002-01-20 Thread Damian Conway
Bryan C. Warnock asked: Since the parentheses are no longer required, will the expressions lose or retain their own scope level? (I'm assuming that whatever rule applies, it will hold true if you do elect to use parantheses anyway.) Err. Expressions don't have their own scope level, even