Do you have a question? Post it now! No Registration Necessary. Now with pictures!
July 14, 2006, 9:27 pm
rate this thread
How do I make the current letters appear in this version of hangman?
$current = $cat
When the user enters c. I need it show c_ _.
#hash of letters guessed
$current .= param('guess');
@guessed_letters = split('', $current);
$current = join('', @guessed_letters);
my @word = split / /, $current;
$current = join '',map ? $_ : '_' }
$current =~ /(.)/g;
- » CGI.pm/modperl2 and intermittent missing POST data
- — Next thread in » PERL Modules Announcements