good chemistry is complicated, and a little bit messy -LW |
|
PerlMonks |
do-while loop questionby lacertus (Monk) |
on Mar 13, 2003 at 10:01 UTC ( [id://242633]=perlquestion: print w/replies, xml ) | Need Help?? |
lacertus has asked for the wisdom of the Perl Monks concerning the following question:
Howdy Y'all, I'm fairly n00b at Perl here, so go easy on me. I am encountering an interesting problem that I have as yet not run across in my short experience. It works thus: while I am validating user input with a basic do-while loop For some reason, the while loop does not accept *any* input (that is, 'y' or 'Y') as being valid? And yet an slightly altered form of the input check in the form of an if statement works fine. Please, any help would greatly ease my mind! Thanks in advance.
Back to
Seekers of Perl Wisdom
|
|