in reply to Re^3: Hash problem - Perl noob
in thread Hash problem - Perl noob

I thought it might be. You test looks fine, and I'm getting similar results.
Rate for foreach for 531/s -- -38% foreach 854/s 61% --