http://qs1969.pair.com?node_id=472904


in reply to Puzzled by array

It's easier to see that the array @letters is fully rotated if you change the loop to: for (1..@letters-1) { so you can see the last step before full rotation.