perl - get number of elements in an array
is there any way to get the number of elements an array has?
say i have @array = ("one","two","three","four","five","six")
is there a possible way to get the number of how many elements there are from
$array[0..$#array] and then assign it to a variable?