Re: Questions about statement modifiers

2006-09-01 Thread Larry Wall
On Wed, Aug 30, 2006 at 01:37:33PM +0800, Agent Zhang wrote: : Hi, there~ : : I think S04 says too little about statement modifiers. Please comment : on the following code samples. Are they valid Perl 6? : :do { say } for 1..3; The do-BLOCK construct does not allow statement modifiers. :

Questions about statement modifiers

2006-08-29 Thread Agent Zhang
Hi, there~ I think S04 says too little about statement modifiers. Please comment on the following code samples. Are they valid Perl 6? do { say } for 1..3; { say } for 1..3; -> $i { say $i } for 1..3; And how about similar variations for other statement modifiers, such as while, giv