Something like the following (untested) skeleton code:
sub print_easy_tree { my $node_array_ref = shift; for my $node (@$node_array_ref) { if ($node->{type} eq 'e') { ... } elsif ($node->{type} eq 't') { ... } else { ... } } }
-- Ken
In reply to Re^3: How to get content of an XML::easytree output
by kcott
in thread How to get content of an XML::easytree output
by Tworec
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |