From: Seebs Date: 2009-11-18T10:15:06+09:00 Subject: Re: help with parsing On 2009-11-18, Mayur Shivakumar wrote: > Thanks ...but i want to convert to hash.and text file might look like > this > name score result > jermy 23 pass > anooj 1 fail That's nice. What do you want the hash to look like? What you show here is not the sort of thing a hash is usually much good at, because a hash is key/value *pairs*, and you appear to have triplets. -s -- Copyright 2009, all wrongs reversed. Peter Seebach / usenet-nospam@seebs.net http://www.seebs.net/log/ <-- lawsuits, religion, and funny pictures http://en.wikipedia.org/wiki/Fair_Game_(Scientology) <-- get educated!