(changing obviously to the right hash name depending on the switch variable) and I think it should do the trick.$hash1{$_}++ for @elements;
In reply to Re^5: Hashes, keys and multiple histogram
by Laurent_R
in thread Hashes, keys and multiple histogram
by f77coder
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |