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:
any tipps?1 2005-01-16 7 2005-01-28 8 2005-01-31 10 2005-02-01 12 2005-02-02 13 2005-02-05
One of Crete's own prophets has said it: 'Cretans are always liars, evil brutes, lazy gluttons'.
He has surely told the truth.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Add numbers row by row
by toolic (Bishop) on Oct 25, 2013 at 14:05 UTC | |
by epimenidecretese (Acolyte) on Oct 25, 2013 at 14:20 UTC | |
by toolic (Bishop) on Oct 25, 2013 at 14:26 UTC | |
by LanX (Saint) on Oct 25, 2013 at 14:25 UTC | |
|
Re: Add numbers row by row
by davido (Cardinal) on Oct 25, 2013 at 16:31 UTC |