You've been asking similar questions repeatedly*. Please figure out what you really want and tell us what's the problem with our solutions rather than ignoring them and starting from scratch in new threads.
* — They are found in threads Creating a tree from a parent child list, that also includes node specific properties..., how to construct tree from parent pointer list and Using Tree::Simple with while loop and input file., and the OP was pointed to an answer in Generating a Hash of Hashes Recursively to Display Database Hierarchy.
In reply to Re: Using Tree::Simple with while loop and input file.
by ikegami
in thread Using Tree::Simple with while loop and input file.
by bryank
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |