From: Seebs on
On 2009-11-18, Mayur Shivakumar <sk.mayur(a)> 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.

Copyright 2009, all wrongs reversed. Peter Seebach / usenet-nospam(a) <-- lawsuits, religion, and funny pictures <-- get educated!