|
|
| Perl Monk, Perl Meditation | |
| PerlMonks |
Re: Help using a while loop with STDINby Riales (Friar) |
| on Feb 07, 2012 at 20:35 UTC ( #952339=note: print w/ replies, xml ) | Need Help?? |
|
I think what you're looking for is a while loop. You can wrap your prompt/check in a while loop that always loops until a correct answer is submitted.
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||