in reply to Accessing and array of hashes
print $test_data->[0]{name};
Or, the names of all the elements?
print join ', ', map $_->{name}, @$test_data;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Accessing and array of hashes
by Anonymous Monk on Nov 26, 2014 at 15:15 UTC | |
by Anonymous Monk on Nov 26, 2014 at 18:16 UTC |