Or the much simpler:redo if $digit[$i] !~ /^\d$/;
redo if $digit[$i] =~ /\D/
-- Randal L. Schwartz, Perl hacker
In reply to Re: Re: Re: Loop Control : REDO
by merlyn
in thread Loop Control : REDO
by skullbowl
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |