drodinthe559 has asked for the wisdom of the Perl Monks concerning the following question:
Help over this speed bump would be appreciated. I'm pretty close to finishing this.foreach $company (sort(keys %details_for)){ my @trans_details = @{$details_for{$company}}; my $comp = $trans_details[0]->{'company'}; my $sumcredits += $_->{'credits'} for (@trans_details); #Show the total credits print $comp, "\t", $sumcredits, "\n"; };
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: HofA - Sum Totals
by ikegami (Patriarch) on Feb 22, 2010 at 23:45 UTC | |
|
Re: HofA - Sum Totals
by kennethk (Abbot) on Feb 22, 2010 at 23:40 UTC | |
by drodinthe559 (Monk) on Feb 23, 2010 at 21:22 UTC | |
|
Re: HofA - Sum Totals
by Your Mother (Archbishop) on Feb 22, 2010 at 23:43 UTC |