in reply to Summing numbers in a file
To elaborate on Athanasius's remark about "line 17": such things like to happen, if/when I have script and execution open in different windows, and forget to save my changes before trying them out. Or perhaps you edited in a different directory/folder than you executed it…
In Section
Seekers of Perl Wisdom