Thanks for the help. I have another question. How do I compute the
depth of those trees. Do I need to first find the root of the tree and
then try of find the depth of the tree? Is there a more efficient
algorithm to find the depth? Is there a "Tree" module that I can use.
I could only find something called Tree::Nary which is not very useful
to me. Thank you.

--
Vijay


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to