Hi! TOTAL noob question here but that's what I am. I'm trying to create a program where I type the area code, hit enter, and see it's state. I have a list of codes per state and it's rather large. How's the best way to do this? I don't want to use a database (MySQL) for this if that's possible. I've tried using if statements and hashes but didn't know if there's a better way. I've searched for a gem that's already written but didn't have any luck and I've googled to see if there's source code for this already but couldn't find anything. Any ideas? Thanks! -- Posted via http://www.ruby-forum.com/.