in reply to Rotating an array
push @arr, splice @arr, 0, $idx [download]
In the end you'll have to benchmark to find which of the solutions is the fastest for you.