Re: xx operator

2006-09-28 Thread A. Pagaltzis
); Interestingly, it says: pugs test2.p6 -- --- --- --- --- --- --- --- --- --- --- What am I misunderstanding here? The `xx` operator. That's list-repeat, not string-repeat. In Perl 5 terms, the code you wrote is: sub repeatit { my ( $string

Re: xx operator

2006-09-28 Thread Juerd
Fagyal Csongor skribis 2006-09-28 15:11 (+0200): say $string xx $repeat; List context. my $add = $string xx $repeat; Item context, for a list repetition operator. Doesn't really make sense, and I think a warning or error message would be more appropriate. I