my @teams = ( "triumph", "victory", "intrepid" ); my $re = join '|', map quotemeta, @teams; while (<$fh>) { chomp; my ($name) = /\|team_($re)\z/ or next; ... }
In reply to Re^2: Searching for Numerous Values
by ikegami
in thread Searching for Numerous Values
by Dr.Avocado
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |