Sidac has asked for the wisdom of the Perl Monks concerning the following question:
How can i add all the first elements (20.187+19.715+20.099 etc ) , second elements (15.415+14.726+15.205) and so on in the list.(Groups are always of equal length. thanks_DATA_ 20.187 15.415 8.663 6.001 6.565 6.459 6.564 13.454 13.475 13.220 +12.982 13.502 13.774 13.490 19.715 14.726 8.307 5.833 6.367 6.089 6.444 6.403 8.672 8.236 +12.982 13.502 13.774 13.490 20.099 15.205 8.763 6.317 6.861 6.973 6.701 6.334 8.406 8.155 + 7.395 8.156 9.551 8.530
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: adding array elements
by johngg (Canon) on Mar 09, 2011 at 14:56 UTC | |
|
Re: adding array elements
by JavaFan (Canon) on Mar 09, 2011 at 14:44 UTC | |
by chrestomanci (Priest) on Mar 09, 2011 at 16:11 UTC | |
| |
|
Re: adding array elements
by Anonymous Monk on Mar 09, 2011 at 14:44 UTC | |
|
Re: adding array elements
by Fletch (Bishop) on Mar 09, 2011 at 17:03 UTC | |
|
Re: adding array elements
by Neighbour (Friar) on Mar 09, 2011 at 14:45 UTC | |
|
Re: adding array elements
by Gulliver (Monk) on Mar 09, 2011 at 17:19 UTC |