Use of defined on aggregates (hashes and arrays) is deprecated. See: http://perldoc.perl.org/functions/defined.html for more information