defined(@array) is deprecated