Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: Recalling a function iteratively

by NetWallah (Canon)
on Nov 29, 2021 at 03:17 UTC ( [id://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."

Replies are listed 'Best First'.

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?Last hourOther CB clients
Other Users?
Others chanting in the Monastery: (7)
As of 2024-04-19 10:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found