my $age; INPUT: { print "Please enter your age: "; $age = <STDIN>; if ( $age !~ /\D/ ) { last INPUT; } redo INPUT; }
In reply to Re: What's the point of a labeled block without a loop?
by dragonchild
in thread What's the point of a labeled block without a loop?
by JohnMG
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |