I find my $blanks = scalar ( my @blanks = ( $letters =~ /[^A-Z]/g ) ); more intuitive.## Find the number of blanks while ($letters =~ /[^A-Z]/) { $letters =~ s/[^A-Z]//; $blanks++; }
But, I like the other code a lot and am learning from it :)
In reply to Re^2: Scrabble word arrangements with blank tiles
by tphyahoo
in thread Scrabble word arrangements with blank tiles
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |