in reply to Re^4: hash and array
in thread hash and array
%hash{$_}++ for @array
I'd expect it to be more like map instead of for, so that you can do
but I'm 100% guessing.@old = %hash{@keys} >>++;
ihb
See perltoc if you don't know which perldoc to read!
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^6: hash and array
by mrborisguy (Hermit) on May 23, 2005 at 00:12 UTC |