in reply to Re^2: Hashes, keys and multiple histogram
in thread Hashes, keys and multiple histogram
Maybe I had misread this line when I wrote my previous answer. Possibly you really want something like this:
Example under the debugger:$hash1{$_}++ for @elements;
DB<1> @elements = qw/ 1 3 5 4 6/; DB<2> $hash1{$_}++ for @elements; DB<3> x \%hash1 0 HASH(0x600509af0) 1 => 1 3 => 1 4 => 1 5 => 1 6 => 1
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Hashes, keys and multiple histogram
by f77coder (Beadle) on Aug 17, 2014 at 13:09 UTC | |
by Laurent_R (Canon) on Aug 17, 2014 at 13:27 UTC |