When I change
tomy $node1 = ${$tree[0]}{name};
everything works.my $node1 = ${$tree->[0]}{name};
$tree[0] is the zero'th element of @tree.
$tree->[0] is the zero'th element of tree that is referenced by $tree.
In reply to Re: understanding XML::Parser
by Thelonius
in thread understanding XML::Parser
by rsiedl
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |