my @array; my $match = 'some_criteria'; while (<FH>) { chomp; # thanks gwadej for reminding me my ($x,$y) = split /\t/, $_; if ( $x eq $match ){ push @array, $y; } } print "@array\n";
In reply to Re: performance issues
by zentara
in thread performance issues
by perlcat
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |