How about

[1, 2, 3, 4, 5].each_with_index do |x, i|
  if i == 0
    print x
  else
    print ", ",x
  end
end

Wayne

-----
No Bugs Software
"Ruby and C++ Contract Programming in Silicon Valley"