$#a = 4; # Sets the length of the array @a to four print scalar(@a); # Prints how many elements are in the @a array.