From: Martin DeMello Date: 2007-03-08T00:56:16+09:00 Subject: Re: Can someone point me in the right direction? Pipe Delimited Files & Hashes... On 3/7/07, Samantha wrote: > > If I go through the hash, I'll probably need to assign each field in the > file a key, and then populate it. I'm having a hard time figuring this out. Do the hash first, since that will give you a good feel for how things work, but if you put this into actual production, I'd consider using the ArrayFields library: http://www.codeforpeople.com/lib/ruby/arrayfields/arrayfields-3.6.0/README It's a useful tool to have in your kit martin