perl if last element in array code example
Example: last index array perl
print $#numbers_array;
# 4
print $numbers_array[$#numbers_array]; -between brackets-
# 62
print $#numbers_array;
# 4
print $numbers_array[$#numbers_array]; -between brackets-
# 62