|Don't ask to ask, just ask|
How can I write this in a "simpler" way?by Anonymous Monk
|on Feb 11, 2014 at 23:19 UTC||Need Help??|
Anonymous Monk has asked for the
wisdom of the Perl Monks concerning the following question:
Hello dear Monks!
I am again stuck because I am supposed to answer the following question without using the <> operator.
The question is, given a file with numbers, and using the while loop, how can you sum up the values that are in the file?
Of course the easy way would be something like:
Any more "primitive" way for this?