in reply to How to address hashtables nested in arrays?
You can access the values this way:
foreach my $n (@{$data->{instance}}) { foreach my $m (@{$n->{contact}}) { foreach my $key (keys %{$m}) { print "key: $key -> $m->{$key}\n"; } } }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: How to address hashtables nested in arrays?
by benedicth (Initiate) on Apr 11, 2015 at 21:07 UTC | |
by pme (Monsignor) on Apr 11, 2015 at 21:43 UTC |