my @aoh = ( { k0 => 'v0' }, { k1 => 'v1' }, { k2 => undef }, { k3 => 'v3' }, ); #### map { exists $_->{k2} ? $_->{k2} : () } @aoh;