Re: [pugs-commits] r22496 - t/spec/S03-operators

2008-10-08 Thread Larry Wall
On Sun, Oct 05, 2008 at 08:03:43PM +0200, Moritz Lenz wrote: : Patrick R. Michaud wrote: : > On Fri, Oct 03, 2008 at 10:02:56AM +0200, [EMAIL PROTECTED] wrote: : >> +#?rakudo skip ',=' : >> +#?DOES 2 : >> +{ : >> +my @a = 1, 2; : >> +is (@a ,= 3, 4).join('|'), '1|2|3|4', ',= on lists works

Re: [pugs-commits] r22496 - t/spec/S03-operators

2008-10-05 Thread Moritz Lenz
Patrick R. Michaud wrote: > On Fri, Oct 03, 2008 at 10:02:56AM +0200, [EMAIL PROTECTED] wrote: >> +#?rakudo skip ',=' >> +#?DOES 2 >> +{ >> +my @a = 1, 2; >> +is (@a ,= 3, 4).join('|'), '1|2|3|4', ',= on lists works the same as >> push (return value)' >> +is @a.join('|'), '1|2|3|4',

Re: [pugs-commits] r22496 - t/spec/S03-operators

2008-10-03 Thread Patrick R. Michaud
On Fri, Oct 03, 2008 at 10:02:56AM +0200, [EMAIL PROTECTED] wrote: > +#?rakudo skip ',=' > +#?DOES 2 > +{ > +my @a = 1, 2; > +is (@a ,= 3, 4).join('|'), '1|2|3|4', ',= on lists works the same as > push (return value)' > +is @a.join('|'), '1|2|3|4', ',= on lists works the same as push