in reply to Re: Tree in perl with hashes
in thread Tree in perl with hashes
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.
|
|---|