in reply to Searching for Numerous Values
while (<$fh>) { chomp; my ($name) = /\|team_(triumph|victory)\z/ or next; ... }
The above skips lines that aren't for interesting teams, and places the name of the team ('triumph' or 'victory') in $name.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Searching for Numerous Values
by ikegami (Patriarch) on Aug 01, 2007 at 17:06 UTC |