From: rcoder Date: 2004-10-10T07:24:41+09:00 Subject: Re: ARGV || something In Ruby 1.8, ARGV is always an array. Since the truth value of an empty array is still "true", you can't just use '||' to provide defaults. It's a bit longer, but your code should work if you do the following: components = (ARGV.size > 0 ? ARGV : %w[ Adjoint Design UN3D_90 GetGrad GridMove HRefine LibF90 Mixed Party PHYSICS_MODULES Rad ]) -- Lennon rcoder.net