Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: Recalling a function iteratively

by NetWallah (Canon)
on Nov 29, 2021 at 03:17 UTC ( #11139198=note: print w/replies, xml ) Need Help??


in reply to Recalling a function iteratively

Your "Logic" is too fuzzy to respond meaningfully.

It is a bad idea to iterate over a list, and attempt to modify the list during the iteration.

My advice is to define a deterministic termination condition, and put your logic in a "while" loop.

                "If you had better tools, you could more effectively demonstrate your total incompetence."

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11139198]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (2)
As of 2022-05-22 03:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you prefer to work remotely?



    Results (79 votes). Check out past polls.

    Notices?