Typos.
Not a ref.
defined(@array) is deprecated.