@array[0..$#array] = @array[reverse 0..$#array]; That's *not* a built-in array-reversal method.