Could you please give an newbie example?my $tree = { name => undef, children => [], }; foreach (`command($tree->{name})`){ pseudo: add $_ to children[] for this $tree->{name}; } pseudo add all the childrens children.
In reply to Re: Re: Tree in perl with hashes
by RuneK
in thread Tree in perl with hashes
by RuneK
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |