foreach $item (@array) { if (some_test($item)) { print "Failure: $item\n"; #inset tricky back step thing here sleep 10; } else { print "Success: $item\n"; } }
In reply to Back step in foreach loop by rosenrosen
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |