From: Samantha Date: 2007-03-08T01:12:00+09:00 Subject: Re: Can someone point me in the right direction? Pipe Delimited Files & Hashes... Martin DeMello wrote: > 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 > > Thanks, Martin! I will check that out. -- Samantha http://www.babygeek.org/ "Beware when the great God lets loose a thinker on this planet. Then all things are at risk." --Ralph Waldo Emerson