but this program seems blithely ignorant of the existence of hashes.... $guess=<STDIN>; chomp $guess; next if $guesses{$guess}++; $right=0; ...
If you feel daring, take a look at the severely undercommented word twist for a more hash-ridden implementation of a word game.
In reply to Re^5: hangman question
by ysth
in thread hangman question
by convenientstore
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |