my self =shift; my tempBirds=[] ; # right way of initialising an array ?? #### my $self = shift; my @tempBirds; # no initialization needed #### my $self = shift; my $tempBirds = [];
## my $self = shift; my @tempBirds; # no initialization needed ##
## my $self = shift; my $tempBirds = [];