Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much

Re^2: Recursive loops

by dsheroh (Prior)
on Dec 12, 2012 at 10:13 UTC ( #1008477=note: print w/replies, xml ) Need Help??

in reply to Re: Recursive loops
in thread Recursive loops

In that case, you don't even need a queue. To restate your description of the process:
While subA detects faults, use subB to correct them.
Translating this to Perl is trivial:
while (subA(@array)) { subB(@array); }
while (my @faults = subA(@array)) { subB(\@array, \@faults); }
if subB needs to know what the list of faults was.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1008477]
[LanX]: well .. not so much interested in reading this article
[LanX]: my 2 cents: AngloZionistic sounds like an antisemtic theory, but to be critical of zionism doesn't mean to be anti-semitic
[shmem]: it hasn't been coined as a *mustread* without authority from the promoter
erix shoots an anti-bubble missile towards LanX
[LanX]: I don't have the time to go into depth of this blog though
[LanX]: anti-bubble missile?
[shmem]: LanX, it's not a matter of time, and you know that.
[shmem]: be precise.
[erix]: nevermind, I'm just a bit drunk :)
[shmem]: just to contradict myself: there's so much attention on wording todays, and so much less on meaning

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (6)
As of 2018-03-19 21:37 GMT
Find Nodes?
    Voting Booth?
    When I think of a mole I think of:

    Results (246 votes). Check out past polls.