ram's answers for ch4 questions

You're using an array reference here rather than just an array. It works although means you need to dereference it later.