From: Paul Battley Date: 2005-04-22T18:46:00+09:00 Subject: Re: TIMTOWTDI letter permutation I posted an Array permutation method to the RubyGarden wiki last year: http://rubygarden.org/ruby?ArrayPermute It uses the same recursive method, although it yields a block for each permutation rather than returning an array of permutations. Thanks to your post, however, I have made a small improvement (the length < 2 test). Paul.