Username_not_taken! has asked for the wisdom of the Perl Monks concerning the following question:
FuncA calls FuncB multiple times within a loop
FuncB calls FuncC multiple times within a loop
FuncC calls itself recursively
I have a global string (theString) I would like to populate through each of these functions and would like to end up with the string content as something like:
The problem I'm having is that all I get are the FuncA listings:Item A [as it goes through FuncA] Item B [as it goes through FuncB] Item C [as it goes through FuncC] Item C Item B Item A Item B etc
How do I make sure that the global string gets appended right? ThanksItem A Item A
edited: Tue Aug 13 17:42:35 2002 by jeffa - added code tags to preserve psuedo-code spacing
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Recursive Function Loop-de-loop
by twerq (Deacon) on Aug 13, 2002 at 17:41 UTC | |
|
Re: Recursive Function Loop-de-loop
by mfriedman (Monk) on Aug 13, 2002 at 18:50 UTC | |
|
Re: Recursive Function Loop-de-loop
by BrowserUk (Patriarch) on Aug 13, 2002 at 19:44 UTC | |
|
Re: Recursive Function Loop-de-loop
by Jaap (Curate) on Aug 13, 2002 at 17:41 UTC |