From: Nouman Saleem Date: 2009-04-08T07:58:52+09:00 Subject: Beginner 'How-to' Question on getting Array info Hi, I am trying to learn ruby and had a question (multiple in fact, however, i'll ask this one) Im making a tiny script that asks for the names of a person's children, then replies by saying hi to each child. for example: what's the names of these precious babies? user types: John, Greg, Sam replies: Hi John, Hi Greg, Hi Sam. so far I was working with a single person, but I understood that part: def welcome(name) result = "Hey, " + name end puts "hey what's your name?" name = gets puts welcome(name) any help would be great ;] hope it's as easy as it sounds! -- Posted via http://www.ruby-forum.com/.