(In 5.6, I believe one can even skip the temporary variable.)my $tmp = $solution ^ $guess; my $right_place = $tmp =~ tr/\0//;
In reply to Re: Re: Re: Need help with a Mastermind game
by chipmunk
in thread Need help with a Mastermind game
by PsionicMan
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |