Change array length by assigning new length to an array
@array = (1, 2, 3); $#array = 10; $array[5] = "Here is a new element!"; print "$array[5]\n";