push @textsToKeep, [ $smsHash->{date}, $smsHash->{body}, $smsHash->{address} , $smsHash->{type} ]; # Adding ONE entry, which is an array-ref. #### my $body_for_third_item = $textsToKeep[2][1]; # Indexes start a 0 my $address_for_second_item = $textsToKeep[1][2];