open( FH, 'addys.txt' ) or die "Couldn't open file: $!" ; my @email_addys = <FH> ; close( FH ) ;
Pretty simple, probably doesn't really need explaining (but let me know if it does.)
In reply to Re: Simple file to array
by DamnDirtyApe
in thread Simple file to array
by Foncé
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |