in reply to Re: Help tightening up a subroutine please
in thread Help tightening up a subroutine please
@{$sets{$fasta_id}[$setscounter]{$sitekey}} = (); foreach ( sort @{$matches{$fasta_id}{$sitekey}} ) { last if $_ > $upperlimit; next if $_ < $lowerlimit; push @{$sets{$fasta_id}[$setscounter]{$sitekey}}, $_;
for my $hit (@{$matches{$fasta_id}{$sitekey}}) { next unless ($hit >= $lowerlimit); last unless ($hit <= $upperlimit); my $ggg = $hit + 0; push (@arrayA, $ggg);
Thanks for the input, though.
Matt
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Help tightening up a subroutine please
by radiantmatrix (Parson) on Jan 24, 2007 at 22:16 UTC |