return unless defined wantarray; return wantarray ? @array : \@array;