in reply to Re: Reading line and Spliting itin thread Reading line and Spliting it
You may want to investigate Tie::File as a way to simplify processing a file as an array.