"be consistent" | |
PerlMonks |
Re: Recursive function in perlby targetsmart (Curate) |
on Jun 18, 2009 at 08:42 UTC ( [id://772675]=note: print w/replies, xml ) | Need Help?? |
I am having a number of links in a hierarchial order IMO if you have it in a Hash of hashes (see perldsc), then the task becomes easy, just walk through the keys and respective values and call appropriate functions, maintain a array and push the values that you are walking through from particular key to print the depth(full link path).
How can I do it with recursion? Vivek -- 'I' am not the body, 'I' am the 'soul', which has no beginning or no end, no attachment or no aversion, nothing to attain or lose.
In Section
Seekers of Perl Wisdom
|
|