if (SvTYPE(hash_value) == SvREF) return hash_value; else return new_SV_ref(hash_value);