From: vasudevram Date: 2006-09-10T01:30:14+09:00 Subject: Re: Parsing a tab delimited file with ruby csv? Julio Capote wrote: > Wow, cool! I didnt know you could do that. This is by far the most > helpful forum ive attended in a while. I have a tab delimited file that > has a bunch of fields separated by tabs in each line, I figure I would > need a multi-dimensional array to store the respective fields of every > line, no? > > -- If you can manage with reading one line of fields in at a time, do something with that line, and then discard it, you don't need a multi-dimensional array. You only need such an array if you want to do computation that involves more than one line at a time. ~~~~~~~~~~~~~~~~~~~~~~~~~~ Vasudev Ram Software consulting and training http://www.dancingbison.com 10.times say "Truly rural" ~~~~~~~~~~~~~~~~~~~~~~~~~~