On 23 Dec 2000 12:35:07 +0100, Clemens Hintze wrote: > A Python similar solution would looks like: > But I would use the #{} construct in strings ... > for letter in 'a' .. 'z' > eval "%{letter} = Planet.new" > eval "%{letter}.name('%{letter}')" > end > Still very close to Python, isn't it? :-) the rubified version looks cleaner and more readable. i'm a bit suprised at how close to python it DOES look. i'm still relatively new to python so i'm not stuck on the way python does things. i want my ruby code to look like the ruby way of doing things as much as possible... -- *---------------------------------------- | |http://www.biosys.net/snowzone | |remove myspleen to email | *-----------------------