in reply to UPDATED: Recursive function adds data to a hash/array
darkphorm writes: There, the function should have called itself previously, and if it got values, tack them onto this hash/array.
I am puzzled as to how you think the function would be calling itself. I can't see it in the code. If you want the function to call it self, why don't you just call it?
Obviously it might be a bad idea to call a function recursively if there is no end to the recursion... but that's not your question, or is it?
Where do you think references should come in?
Sören
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Recursive function adds data to a hash/array
by Limbic~Region (Chancellor) on Mar 10, 2004 at 19:09 UTC | |
by BUU (Prior) on Mar 10, 2004 at 22:51 UTC | |
by Happy-the-monk (Canon) on Mar 10, 2004 at 19:16 UTC |