in reply to multidimensional dilemma
not confused about hashes vs arrays -- i just tend to like using hashes for everything if i can. i think its the curly braces or something.
i think that grep will do the trick.
forgive my ignorance.. but wouldn't
$resultsByCode{$_}++ for @resultStatus;
just present a tally of the results?