in reply to
Help using a while loop with STDIN
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.
Comment on
Re: Help using a while loop with STDIN
Select
or
Download
Code
In Section
Seekers of Perl Wisdom