Perl: the Markov chain saw | |
PerlMonks |
Re: Re: Recursion, tree parsing.by antirice (Priest) |
on Apr 14, 2003 at 21:03 UTC ( [id://250418]=note: print w/replies, xml ) | Need Help?? |
Hmm, his code seems perfectly right to me. Your code skips the case where the children array may have only 1 element.
antirice
In Section
Seekers of Perl Wisdom
|
|