in reply to Re^2: How to get content of an XML::easytree output
in thread How to get content of an XML::easytree output
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
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: How to get content of an XML::easytree output
by Tworec (Initiate) on Mar 08, 2013 at 09:39 UTC | |
by kcott (Archbishop) on Mar 08, 2013 at 12:22 UTC |