solution that is not satisfactory. Why not? Because the REAL case involves files with potentially hundreds -- even thousands -- of fields per record -- and splitting a thousand fields into an array takes about 300 times longer than selecting 3 fields out of the line and into an array.
And if you've got 1,000,000 lines, a factor of 300 starts to get, like, real.