From: Pit Capitain Date: 2002-06-03T23:53:07+09:00 Subject: Re: ruby equivalent for perl multi-index sort? > (problem of chaining comparisons) Try Numeric#nonzero? It's designed for chaining comparisons. It returns nil for a zero argument and the non-zero value otherwise. Regards, Pit