in reply to Dereferencing array of hashes

Dereference with % not @.

update

Maybe better written as:

 do_something for map { keys %$_ } @AoH;

Cheers Rolf

( addicted to the Perl Programming Language)