As you modify @letters, @array2's members are changed because they are the same.
In reply to Re^2: Puzzled by array by kiat in thread Puzzled by array by kiat