Output the number of elements and the last index number
@array = qw( zero one two three four five six seven eight nine ); print "There are ", scalar( @array ), " elements in \@array.\n"; print "The last index in \@array is $#array.\n\n";