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