perl last 10o element of array code example
Example 1: last 10 element of array
System.out.print(Primes1.get(Primes1.size() - 1) + " ");
Example 2: how to get last element of array in perl
print $#numbers_array;
# 4
print $numbers_array[$#numbers_array];
# 62