nishanth_ev has asked for the wisdom of the Perl Monks concerning the following question:
I want to get all the values from the xml reference variable.. Please help...foreach my $key (keys %$xml) { my $inha = $xml->{$key}; print " $key => $xml->{$key}"; my $prophash = $xml->{$key}{'Properties'}; foreach my $k (%$prophash) { print "$k => $prophash->{$k}"; } }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: XML Data Extraction
by dorward (Curate) on Jun 28, 2006 at 11:21 UTC | |
by nishanth_ev (Novice) on Jun 28, 2006 at 12:04 UTC |