Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
How can I add the values of a hash?
how can I repeatedly do this so the value is accumulative?i.e. my $val1; my $val2; $hash{$key} = $val1 + $val2;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: How can I add the values of a hash?
by jasonk (Parson) on Feb 07, 2003 at 15:04 UTC | |
|
Re: How can I add the values of a hash?
by steves (Curate) on Feb 07, 2003 at 14:45 UTC | |
by Anonymous Monk on Feb 07, 2003 at 16:16 UTC | |
by steves (Curate) on Feb 07, 2003 at 17:24 UTC | |
by OM_Zen (Scribe) on Feb 08, 2003 at 17:36 UTC | |
by poj (Abbot) on Feb 08, 2003 at 18:52 UTC | |
|
Re: How can I add the values of a hash?
by OM_Zen (Scribe) on Feb 08, 2003 at 17:43 UTC |