Welcome to the Monastery | |
PerlMonks |
Re^2: logic problem with perl gameby mynameisG (Novice) |
on Dec 04, 2010 at 23:16 UTC ( [id://875426]=note: print w/replies, xml ) | Need Help?? |
Sorry guys I made a mistake, I just realized something very important. For some reason $correctryhm is storing the value of the previous $theword. for example, if the first $theword equals field and I click on the picture of the shield I get +1 # of losses, but if the next $theword equals arrow and I choose shield again I get +1 to # of wins... so that's what needs to be fixed
In Section
Seekers of Perl Wisdom
|
|