in reply to any mechanism to go to the end of a loop but do not exit the loop

Do you mean this:
my $r = 0; while ($r < 10) { print "one iteration\n"; $r++; } continue { $r = 10; print "I'm at the end but still don't exited the loop\n"; }
  • Comment on Re: any mechanism to go to the end of a loop but do not exit the loop
  • Download Code