in reply to Re^3: Running Total Array or Hash
in thread Running Total Array or Hash

Hello DeWebDude

You are using a hash, not an array. In order to access the value for each key, your code needs to look something like this.

I hope this helps.

Vincent.

for my $key (sort keys %client_total) { $client_total{$key} = ($client_total{$key}) / 10; print "$key: $client_total{$key}\n"; }