Try building a hash of hashes, keyed by $_->{name} and updating $Hash{$_->{name}}->{count_banking} as you go if the target hash element already exists. See perldsc for more.
Also note that your question describes an array of hashes, not a hash of arrays.
In reply to Re: How to merge two arrays within the hash of arrays based on unique name.
by jcb
in thread How to merge two arrays within the hash of arrays based on unique name.
by Sami_R
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |