The real question is not "how do you read the file into an array". The real question is, "Do you actually need the whole file in memory at the same time? or would your problem be simpler dealing with it one line at a time?"
while ( my $line = <FILE> ) { process( $line ); }
--
TTTATCGGTCGTTATATAGATGTTTGCA
In reply to Re: reading file into an array
by TomDLux
in thread reading file into an array
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |