in reply to Passing hash references into subs

You are passing/accessing the hash reference correctly. My guess is there's something else wrong that's causing this error. Post more code and maybe something else will surface.