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.
In Section
Seekers of Perl Wisdom
in reply to Puzzled by array