If you are working with just the names - then yes, I would use an array, faster access.
However, if you need the values associated with the names - your best be may be to build a hash of arrays.
Alternately, if you just need to loop once, using both the names & values - forget an array or a hash, just split the data in the loop that you read the file :)