my @names = <FILE>; chomp @names; [download]
In reply to Re: Novice by rir in thread Reading file contents into an array by Anonymous Monk