in reply to Re^3: A question About Array Indexing
in thread A question About Array Indexing
This is great advice, and makes the process much more time and memory efficient! The one follow up question I have is pertaining to the line
while( <INTERVAL> ) { my( $start, $end ) = split "\t", $_;
The text file being read has 3 columns, the first of which is non-numeric. If I specify the variables with
foreach my $interval (<INTERVAL>){ my @find_interval = split(/\t/, $interval); my $start = $find_interval[1]; my $end = $find_interval[2];
would that accomplish the same thing?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: A question About Array Indexing
by AnomalousMonk (Archbishop) on Aug 27, 2013 at 02:00 UTC | |
|
Re^5: A question About Array Indexing
by bioinformatics (Friar) on Aug 27, 2013 at 01:29 UTC | |
by ccelt09 (Sexton) on Aug 27, 2013 at 02:06 UTC | |
|
Re^5: A question About Array Indexing
by BrowserUk (Patriarch) on Aug 27, 2013 at 08:25 UTC |