Given a reference to hash or a reference to an array in Perl, how can we get back the original hash or array?

What if we have a reference to a reference to a hash and we would like to get back the reference to the hash.