On 21 March 2012 22:50, Carl Mäsak <cma...@gmail.com> wrote: > It would also produce an infinite list, because by the rules you need > the RHS of infix:<...> to match exactly, and 10 is not in the infinite > list 2, 5, 8, 11, 14... Which is why you'd need to write something > like * >= 10.
Ok, so infix:<...> isn't what I wish for either... Can you help me understand Damian's example? $a,*+$c...* >=$b I see a lot of Perl magic here and I have no idea what any of it does. What does the first star do? And the plus sign? I tried to guess what the >= does by experimentation, but I can't make heads or tails of it: > 2..100 >= 5 True > > 2...100 >= 5 2 Also, I'm only now learning what ... does. I thought it was just the "yada yada yada" operator, but now I see that it makes an object called List(), which clearly is different from both Range() and Array()... Btw, I just found the section in S09 covering multi-dimensional arrays and the semicolon operator. I'll go read it now... One unrelated question: Is there a way to ask an object what methods it supports? That would make it easier for me to experiment. For example, just now I have been looking for the methods supported by the Range object (to see how I'd obtain the beginning and end points of a range) and haven't found anything. Cheers, Daniel. -- I'm not overweight, I'm undertall.