From: Kurt Euler Date: 2002-09-11T01:56:07+09:00 Subject: Parsing a line into a hash table... All- Currently I parse tab-delimited lines in a text file into a 1D array called "field" thusly: IO.foreach("./control/packages.txt") { |x| field = x.chop.split('\t') do_stuff } Question: How can I parse these lines into values for a pre-defined hash table. (My objective is to give each field a name rather than a number.) Thanks. -Kurt Euler