From: Mmcolli00 Mom Date: 2008-12-03T06:14:03+09:00 Subject: How do you read text file by creating a Hash in a script? This is some example contents of my text file: logzT09.txt 00834 tue z0sdf 01230 wed z0sdf 34234 tue wet0f How can I read this in another ruby script by using an Hash? I am wanting to use certain lines/words to compare in another ruby script so I need to be able to reference each word when needed. I am a beginner. Please help if you can. Thanks. MC -- Posted via http://www.ruby-forum.com/.