in reply to
sumof - attempting to sum a column from each file
You are resetting and redeclaring $sumof inside the loop. Therefore, it cannot hold the sum value when you print it.You can use strict and warnings to make Perl guard these (and many more) errors.
Results (274 votes),