in reply to Pulling a hash from within an array
You need to take reference of the hashes before you push them to the array, as the way you write flattens the hashes to a list:
After that, you have to dereference the hashes when you retreive them from the array:push(@array_of_hashes, \%hash_one);
my %probe_name = %{$array_of_hashes[0]};
|
|---|