my @ChosenArray = @{ $TwoDimArray[$ChosenRow] }; #### my $elements = @{ $TwoDimArray[$ChosenRow] };