unshift(@array, pop(@array)); # the last shall be first push(@array, shift(@array)); # and vice versa