- or download this
foreach my $line (@flab) {
if ($line =~ /[^\t]*\Q$sTab[1]\E\t([^\t]+)/) {
print RESULT "$sTab[0]\t$sTab[1]\t$2\n";
}
}
- or download this
while (my $sLine = <LONG_LIST>) {
chomp $sLine;
...
print RESULT "$company\t$name\t$flab{$name}{TITLE}\n";
}
}
- or download this
my $tmp = join("|", keys %flab);
my $regex = qr/(?:$tmp)/;
...
print RESULT "$company\t$name\t$flab{$name}\n";
}
}