So the your example code is behaving as expected.{ print "enter option here: "; chomp(my $answer = <STDIN>); redo if $answer ne "quit"; }
broquaint
In reply to Re: next in block in foreach-loop
by broquaint
in thread next in block in foreach-loop
by strat
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |