⭐ in reply to How do I test if a 'thing' is a hash (or array or scalar)?
If you meant "how do I test whether a reference to {something} is a reference to a scalar/array/hash?", then look at the ref function.