perl get last item in array code example
Example: how to get last element of array in perl
print $#numbers_array;
# 4
print $numbers_array[$#numbers_array];
# 62
print $#numbers_array;
# 4
print $numbers_array[$#numbers_array];
# 62