in reply to ask about array and hash

There is a tutorial on references as well as a References quick reference in the Tutorials section which might be worth looking at.