On 05/31/2004 01:20:50 AM, Joao Pedrosa wrote: > I think it's the Hash. Specifically, the order of its > elements. > By putting some code like > > puts "Heisenbug!" > > or by removing it > > #puts "Heisenbug!" > > Ruby can change the order of the Hash elements, thus > causing some bug (which isn't a bug of Ruby, of course > :) to appear. Yep, that's it. Thanks very much. > This is interesting because a "perfect" code can > "become" buggy anytime. > Philosophically, it's interesting. :-) Indeed. :) Now, the "real" bug is in my code (ofcourse :) - the words list has to be reset on every iteration. Doh. :) -flexo