Oops, no that won't work with strict enabled.  But this does `if (!$$self{hop_array} || !(@{$$self{hop_array}})) {`

So now if the hash key is undefined OR the value is not an array then we do something.  That should do it.