in reply to Checking if all the key values are same in an Array

no... well, it depends on what you do understand by "looping":
my $some_are_different = grep { $_->{key1} != 1 } @array;