- or download this
while ( my $input_text = <INP> ) { ....
- or download this
while ( my $line = <INP> ) {
chomp $input;
...
$queries++;
}
...
- or download this
# instead of ...
else
...
my $pair = join ',', grep { defined } ( $fnum, $snum );
$connectiontext .= $pair . '|';
}
- or download this
push @allPairs, grep { defined } ( $fnum, $snum );
...
# or a trailing fnum
my @matches = grep ( scalar @$_ == 2 && $_->[1] == $fnum } @allpairs