Don't you mean "Reading the records into an array..."? I assume the questioner needs to preserve the order of the records (if only so they can be accurately reversed) and hashes generally destroy that order.
A good look at "why" you need to access the data in this manner might pay off better in the long run.
Indeed!
In reply to Re^2: read a file in both directions
by dsheroh
in thread read a file in both directions
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |