Perl Primer - University of California, Davis

To do this, slice the list into two parts and then put it back together again. Do NOT replace the current item at position 3 (the number 4). Insert the value 99 at the start of the list. Again, do not replace the 1 that is currently at the start of the list. Find the index of "cat". You will need to write a . for. loop. List Algorithms ................
................