You are resetting and redeclaring $sumof inside the loop. Therefore, it cannot hold the sum value when you print it. You can usestrict and warnings to make Perl guard these (and many more) errors.
لսႽ† ᥲᥒ⚪⟊Ⴙᘓᖇ Ꮅᘓᖇ⎱ Ⴙᥲ𝇋ƙᘓᖇ
Comment on Re: sumof - attempting to sum a column from each file
I think I'm going to rewrite my script from scratch to get a better hang of the suggestions and see the whole picture as I write it.
I appreciate all your input, as this has greatly helped me.