bennierounder has asked for the wisdom of the Perl Monks concerning the following question:
Hi there not sure if this can be done, but I need to know a way how to add the elements inside an array inside of a hash
There could be more keys than this put into the hash but at the minute i am dealing with two months to get the code but cannot work it out at all.
Does anyone know how to get the sum of all the values to be linked up to the keys please.
Thanks in advance if you can help.
Bennierounder
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: How to add array in Hash
by choroba (Cardinal) on Sep 01, 2011 at 10:03 UTC | |
by bennierounder (Sexton) on Sep 01, 2011 at 13:42 UTC | |
by toolic (Bishop) on Sep 01, 2011 at 13:58 UTC | |
|
Re: How to add array in Hash
by bennierounder (Sexton) on Sep 01, 2011 at 10:31 UTC |