in reply to Question of scope

Do you have strict and warnings on? You might just have a typo in the name of the array.