molson has asked for the wisdom of the Perl Monks concerning the following question:
foreach (@COMPANIES) { $sum{$_->{'comp'}} += $_->{'count'}; } #Output in %sum use Data::Dumper; print OUTFILE Dumper(\%sum);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Count not working
by kennethk (Abbot) on Jul 14, 2010 at 17:33 UTC | |
by molson (Acolyte) on Jul 14, 2010 at 18:46 UTC |