in reply to Oh my, code overload
in thread Problem with while loop
It looks to me like the OP has a tab-delimited flatfile. The first line probably lists the headers. The code grabs the field names from the first line with the first read to use as hash keys. Then it loops through the rest of the lines -- the actual data. It's not the most beautiful idiom, but it's valid code, if this is actually the poster's intent.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Oh my, code overload
by Hopeless (Initiate) on Oct 26, 2001 at 22:47 UTC |