On Nov 22, 3:26 pm, Duncan Booth <duncan.bo... at invalid.invalid> wrote: > This sounds like a case for writing a generator. Try this one: [...] Thanks, Duncan! Really cool & useful. And yield is the Ruby way, too! (Wayne -- :P). Cheers, Alexy