dnamonk has asked for the wisdom of the Perl Monks concerning the following question:
Dear Monks,
I have a general logic question. I need help in logic and not code.
I have a question about recalling my function within a loop.
Below is my code:
My problem is that I am loading "List_new" using myfunction(). How can I change "List_new" iteratively when my condition is False. I want to reload the function especially when the condition is FALSE. This means I keep calling the function until it is false and then execute the final output from myfunction(). Thank you in advance for your help.List_new = myfunction() for items in List_new: if(my condition is TRUE): Execute some commands if(my condition is FALSE): recall myfunction()
Back to
Seekers of Perl Wisdom