in reply to Re: Extract keys from an Array of Hashesin thread Extract keys from an Array of Hashes
And for when the keys are all different:
for ( 0 .. $#AoH ) { push @keys, keys %{ $AoH[$_] }; } [download]