#assume that %hash is already initialized %hash = (%hash, reverse %hash);