http://qs321.pair.com?node_id=1108458


in reply to Accessing and array of hashes

$test_data in info::test is an array reference, not a hash reference. You can't dereference it as a hash. What do you want to extract? The name of the first element?
print $test_data->[0]{name};

Or, the names of all the elements?

print join ', ', map $_->{name}, @$test_data;
لսႽ† ᥲᥒ⚪⟊Ⴙᘓᖇ Ꮅᘓᖇ⎱ Ⴙᥲ𝇋ƙᘓᖇ