Here's another option:
if("\b$player_one_race\b$player_two_race\b" =~ /(?=.*\bterran\b)(?=.*\ +bzerg\b)/) { ... }
In reply to Re: Help with a logical structure for an if statement
by Kenosis
in thread Help with a logical structure for an if statement
by kereekerra
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |