http://www.perlmonks.org?node_id=1059670

epimenidecretese has asked for the wisdom of the Perl Monks concerning the following question:

I'm trying to add numbers row by row but I can't figure out how to do it.

example:

__DATA__ 1 2005-01-16 6 2005-01-28 1 2005-01-31 2 2005-02-01 2 2005-02-02 1 2005-02-05

I'd like to have an output like this:

1 2005-01-16 7 2005-01-28 8 2005-01-31 10 2005-02-01 12 2005-02-02 13 2005-02-05

any tipps?

One of Crete's own prophets has said it: 'Cretans are always liars, evil brutes, lazy gluttons'.
He has surely told the truth.