[EMAIL PROTECTED] wrote at Fri, 26 Jul 2002 07:18:00 +0200: > Strolling thru' Learning Perl and already have a few q's in mind: > > I couldn't quite follow this program off the book. The parts not quite clear to me >are (the hwole > program is given below): > > $i = 0; > $correct = "maybe"; { > while ($correct eq "maybe") > { > if ($words[$i] eq $guess){ > $correct = "yes"; > } > elsif ($i < 2) { > $i = $i + 1;
What don't do you understand ? All lines ? I'm afraid we only can help you, if you're a little more specific. Especially as there are from my point of view, more complicated structures in the whole script. BTW: In the whole program posted, there's a line I don't understand: $name = <stdin>; stdin should be uppercase: STDIN Cheerio, Janek -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]