Consider using eq instead of regexes.if ( ($player_one_race =~ m/terran/ && $player_two_race =~ /zerg/) || +($player_one_race =~ m/zerg/ && $player_two_race =~ m/terran/)) {}
In reply to Re: Help with a logical structure for an if statement
by toolic
in thread Help with a logical structure for an if statement
by kereekerra
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |