Re: more than one modifier

2004-06-28 Thread Dan Sugalski
On -1 xxx -1, it was written: I have a wish for Perl6. I think it would be nice to have the possibility for more than one modifier after a simple statement. Larry's ruled that it's one statement modifier per statement, period. For anything else you'd need to modify the grammar. (Which won't

more than one modifier

2004-06-25 Thread perl6-language-return-17601-archive=jab . org
Hello, I have a wish for Perl6. I think it would be nice to have the possibility for more than one modifier after a simple statement. For example: print $a+$b if $a if $b for 1..3; Gerd Pokorra E-Mail: [EMAIL PROTECTED]

Re: more than one modifier

2004-06-25 Thread Juerd
Please configure your email client correctly. (I'm surprised that the message was accepted, even) [EMAIL PROTECTED] skribis 2004-06-25 13:38 (-): I have a wish for Perl6. I think it would be nice to have the possibility for more than one modifier after a simple statement. Has been

Re: more than one modifier

2004-06-25 Thread Stéphane Payrard
On Fri, Jun 25, 2004 at 03:38:51PM +0200, [EMAIL PROTECTED] wrote: Hello, I have a wish for Perl6. I think it would be nice to have the possibility for more than one modifier after a simple statement. For example: print $a+$b if $a if $b for 1..3; Gerd Pokorra

Re: more than one modifier

2004-06-25 Thread Juerd
Stéphane Payrard skribis 2004-06-25 16:15 (-0400): It is unpossible to stack loop modifiers without adding conventions denoting the iterators. Is it really? I've always thought this would be useful enough: say .{foo} for @$_ for @foo; Although that can probably just be written as: