my @temp = # third, the final results are stored in @temp map { $_->[2] } # second this applies to the results of the following: map { [ $_[1], $_[0], $_ ] } # first this applies to @uniform @uniform;