http://qs321.pair.com?node_id=180292


in reply to Re: Re: Simple file to array
in thread Simple file to array

One more thing--would this snippet work, or will it not chomp like that?:
open( FH, 'addys.txt' ) or die "Couldn't open file: $!"; chomp (my @email_addys = <FH>); close( FH );