in reply to ArrayRef as Hash key

I suspect it would probably be more useful if you told us why you think that's what you want to do. This looks very likely to be an XY Problem