... int3 if not exists $hash{'thing'} or $hash{'thing'} ne 'something'; ...