in reply to Re^4: A question About Array Indexing
in thread A question About Array Indexing

The text file being read has 3 columns, the first of which is non-numeric. If I specify the variables with foreach ... would that accomplish the same thing?

Sorry, my mistake. However, I'd stick with while rather than foreach. There is simply no benefit to filling memory with an entire file (however big) if you can only use 1 line at a time:

while( <INTERVAL> ) { ## ignore the first field on each line my( undef, $start, $end ) = split "\t", $_; ...

With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.