On Mar 1, 2007, at 7:02 AM, Louis J Scoras wrote: > You could try something like this: > > def verify_info(ok, hash) > if ok > puts hash[:next] > else > puts hash[:fail] > exit 1 > end > end If you keep doing a lot of this, you might want to look into the HighLine library. It gives you the tools to validate and convert input as well as issue error messages on certain conditions: http://highline.rubyforge.org/ James Edward Gray II