in reply to ArrayRef as Hash key

With vanilla perl hashes no; keys to hashes are stringified which will make the arrayref unrecoverable. That being said you can use the Tie::RefHash module to do what you want.

The cake is a lie.
The cake is a lie.
The cake is a lie.