in reply to Help with a logical structure for an if statement

Here is code that compiles without errors:
if ( ($player_one_race =~ m/terran/ && $player_two_race =~ /zerg/) || +($player_one_race =~ m/zerg/ && $player_two_race =~ m/terran/)) {}
Consider using eq instead of regexes.