in reply to Still don't undersand "Modification of a read-only value attempted" error

Another way to think of it is that the constants (e.g., "abcdef") are immutable, whereas variables (e.g., @list[0]) holding them are mutable. Another thing... you name your array "@list", but there is a difference between arrays and lists. Understanding this may help to clear up some of the confusion.