in reply to Re: Simple file to arrayin thread Simple file to array
open( FH, 'addys.txt' ) or die "Couldn't open file: $!"; chomp (my @email_addys = <FH>); close( FH ); [download]