$array[13] = 'blah'; # line 13 of the file is now 'blah' #### The first line of the file is element 0 of the array; the second line is element 1, and so on.