in reply to Re: Searching for Numerous Values
in thread Searching for Numerous Values

No, I guess I misunderstood.
my @teams = ( "triumph", "victory", "intrepid" ); my $re = join '|', map quotemeta, @teams; while (<$fh>) { chomp; my ($name) = /\|team_($re)\z/ or next; ... }