Re: Apoc4: 'when' blocks versus statements

2002-01-20 Thread Larry Wall
[EMAIL PROTECTED] writes: : Why the double semantics of 'when'? : : It implicitly breaks when used as a 'when' block, but does not as a 'when' : statement. It seems that a when should be a when should be a when, and a : when being a when would be a win. I can see your point. But emember th

Apoc4: 'when' blocks versus statements

2002-01-19 Thread Bryan C. Warnock
Why the double semantics of 'when'? It implicitly breaks when used as a 'when' block, but does not as a 'when' statement. It seems that a when should be a when should be a when, and a when being a when would be a win. The example given: given $x { warn("Odd value")when