in reply to Need help with perl syntax.

I have just written an article about complex data structures by reference. Maybe it will help you understand more Arrays and hashes only with references