Where's the code you have tried? We can't help you with your coding problems without seeing where those problems are.
Given that you know what the final structure should look like we presume that you have a fair understanding of what you want to achieve and how Perl works so it is reasonable to assume that you have tried something and run into a wall or some such. Unless of course <shock><horror>this is homework</horror></shock>, in which case we really would like to see a little effort shown in any case.
In reply to Re: Building hash tree from a data file
by GrandFather
in thread Building hash tree from a data file
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |