Don't ask to ask, just ask | |
PerlMonks |
Back step in foreach loopby rosenrosen (Initiate) |
on Nov 10, 2008 at 23:13 UTC ( [id://722746]=perlquestion: print w/replies, xml ) | Need Help?? |
rosenrosen has asked for the wisdom of the Perl Monks concerning the following question:
I have a foreach loop iterating over an array and if a certain test fails for an item I'd like to sleep and then try it again. Is there an easy way to re-enter the loop without grabbing the next item from the array?
Back to
Seekers of Perl Wisdom
|
|