in reply to Re^2: reading file into an array
in thread reading file into an array

It has been my experience that the two best ways to solve a problem are:

Either of these activities will cause the solution to manifest itself in very short order.

G. Wade