reverse(LIST)

reverse LIST

In an array context, returns an array value consist-
ing of the elements of LIST in the opposite order.
In a scalar context, returns a string value consist-
ing of the bytes of the first element of LIST in the
opposite order.