Synopsis
sum @LIST
Returns the sum of all items in the list. Note that sum
deals only with numerical list items
and will ignore any other list items. For example:
my @ll = qw(1 3 5 nate Person pizza man carl_everett dinosaur 6.54);
my $sum_of_list = sum(@ll);
print "$sum_of_list
"; # Prints '15.54'