Help for this page

Select Code to Download


  1. or download this
    ...
    #my $words = @words;  # just use (scalar @words)
    ...
          #my %word = map{$_=>1}split(//,$word); # not needed
          if (exists($chars{$guess})) {  # changed %word to %chars
       ...