in reply to pointers == arrayrefs ?

If you're really sure that's what you want you might want to take a look at Tie::Hash::StructKeyed and its implementation.